[jira] [Created] (FLINK-13232) TemporalTypesTest>ExpressionTestBase.evaluateExprs fails on PST Timezone

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13232) TemporalTypesTest>ExpressionTestBase.evaluateExprs fails on PST Timezone

Shang Yuanchun (Jira)
Bowen Li created FLINK-13232:
--------------------------------

             Summary: TemporalTypesTest>ExpressionTestBase.evaluateExprs fails on PST Timezone
                 Key: FLINK-13232
                 URL: https://issues.apache.org/jira/browse/FLINK-13232
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.9.0
            Reporter: Bowen Li
            Assignee: Jingsong Lee
             Fix For: 1.9.0


TemporalTypesTest>ExpressionTestBase.evaluateExprs seems to have a bug on timezone.

When I run it locally at PST timezone, it always fails as:

{code:java}
[ERROR] Failures:
[ERROR]   TemporalTypesTest>ExpressionTestBase.evaluateExprs:154 Wrong result for: [CURRENT_DATE] optimized to: [CURRENT_DATE] expected:<2019-07-1[2]> but was:<2019-07-1[1]>
{code}

I didn't find it fails on travis. Thus I suspect there's a bug w.r.t. timezone.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)