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

Kurt Young closed FLINK-21984.
------------------------------
    Resolution: Fixed

fixed: 1af31a5648f4ecf15bd850a12a41f051ff6c15d2

> Change precision argument from optional to required in 
> TO_TIMESTAMP_LTZ(numeric, precision) 
> --------------------------------------------------------------------------------------------
>
>                 Key: FLINK-21984
>                 URL: https://issues.apache.org/jira/browse/FLINK-21984
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>    Affects Versions: 1.13.0
>            Reporter: Leonard Xu
>            Assignee: Leonard Xu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0
>
>
> To avoid the confusing the numeric value is in second or millisecond, we'd 
> better set the precision argument to required. The background is that 
> `LocalZonedTimestampType` always treats `Integer` conversion class as second, 
> treats `Long` as millisecond. 



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

Reply via email to