You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/05/15 17:57:02 UTC

[jira] [Updated] (BEAM-10611) Use ZetaSQL Value.createDatetimeValue(LocalDateTime) function to avoid extra conversions

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

Kenneth Knowles updated BEAM-10611:
-----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Resolved)

Hello! Due to a bug in our Jira configuration, this issue had status:Resolved but resolution:Unresolved.

I am bulk editing these issues to have resolution:Fixed

If a different resolution is appropriate, please change it. To do this, click the "Resolve" button (you can do this even for closed issues) and set the Resolution field to the right value.

> Use ZetaSQL Value.createDatetimeValue(LocalDateTime) function to avoid extra conversions
> ----------------------------------------------------------------------------------------
>
>                 Key: BEAM-10611
>                 URL: https://issues.apache.org/jira/browse/BEAM-10611
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql-zetasql
>            Reporter: Robin Qiu
>            Assignee: Robin Qiu
>            Priority: P3
>             Fix For: 2.24.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> GoogleSQL (internal) has a {{Value.createDatetimeValue()}} method that takes a Java {{LocalDateTime}}, but it has not been open-sourced to ZetaSQL. We should open source this function and then Beam should use it to replace the current DATETIME type translation implementation. It will avoid unnecessary conversions and make the code simpler.



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