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

Timo Walther closed FLINK-25304.
--------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed

Fixed in master: 458e798f4fb6afe00bbb17d4c4530846fc5de112

> TIMESTAMP/TIMESTAMP_LTZ Pad with trailing zeros for fractional seconds 
> depending on the precision specified
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-25304
>                 URL: https://issues.apache.org/jira/browse/FLINK-25304
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>            Reporter: Marios Trivyzas
>            Assignee: Marios Trivyzas
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> Should we pad with trailing zeros for the fractional second part?
> e.g.:
>  
> {noformat}
> CAST(CAST('2021-12-13 11:22:33.123456' AS TIMESTAMP(9) AS STRING){noformat}
> Should it return:
>  
> {noformat}
> 2021-12-13 11:22:33.123456{noformat}
> or:
> {noformat}
> 2021-12-13 11:22:33.123456000{noformat}
> ?
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to