You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andrew Pilloud (Jira)" <ji...@apache.org> on 2020/04/06 23:26:00 UTC

[jira] [Updated] (BEAM-9710) Got current time instead of timestamp value

     [ https://issues.apache.org/jira/browse/BEAM-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Pilloud updated BEAM-9710:
---------------------------------
    Status: Open  (was: Triage Needed)

> Got current time instead of timestamp value
> -------------------------------------------
>
>                 Key: BEAM-9710
>                 URL: https://issues.apache.org/jira/browse/BEAM-9710
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql-zetasql
>            Reporter: Andrew Pilloud
>            Priority: Trivial
>              Labels: zetasql-compliance
>
> one failure in shard 13
> {code}
> Expected: ARRAY<STRUCT<timestamp_val TIMESTAMP>>[{2014-12-01 00:00:00+00}]
>   Actual: ARRAY<STRUCT<timestamp_val TIMESTAMP>>[{2020-04-06 00:20:40.052+00}], 
> {code}
> {code}
> [prepare_database]
> CREATE TABLE Table1 AS
> SELECT timestamp '2014-12-01' as timestamp_val
> --
> ARRAY<STRUCT<timestamp_val TIMESTAMP>>[{2014-12-01 00:00:00+00}]
> ==
> [name=timestamp_type_2]
> SELECT timestamp_val
> FROM Table1
> --
> ARRAY<STRUCT<timestamp_val TIMESTAMP>>[{2014-12-01 00:00:00+00}]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)