beam-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zijie Song (Jira)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-10340) Lost of precision when casting ZetaSQL time with microsecond-precision
Date Fri, 26 Jun 2020 21:53:00 GMT

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

Zijie Song updated BEAM-10340:
------------------------------
    Description: 
 

{{String sql =
        "SELECT CAST(s1 as TIME) as t2, CAST(t1 as STRING) as s2 FROM "
            + "(SELECT '12:34:56.123456' as s1, TIME '12:34:56.123456' as t1)";}}

> Lost of precision when casting ZetaSQL time with microsecond-precision 
> -----------------------------------------------------------------------
>
>                 Key: BEAM-10340
>                 URL: https://issues.apache.org/jira/browse/BEAM-10340
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql-zetasql
>            Reporter: Zijie Song
>            Assignee: Zijie Song
>            Priority: P3
>
>  
> {{String sql =
>         "SELECT CAST(s1 as TIME) as t2, CAST(t1 as STRING) as s2 FROM "
>             + "(SELECT '12:34:56.123456' as s1, TIME '12:34:56.123456' as t1)";}}



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

Mime
View raw message