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

Robin Qiu updated BEAM-10611:
-----------------------------
    Description: 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 simpler.  (was: 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.)

> 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
>
> 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 simpler.



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

Reply via email to