[
https://issues.apache.org/jira/browse/FLINK-28757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573526#comment-17573526
]
Weike Dong commented on FLINK-28757:
------------------------------------
Related to FLINK-17525 and FLINK-19872, but still not fully resolved.
> Increase precision of TIME fields in JSON Format
> ------------------------------------------------
>
> Key: FLINK-28757
> URL: https://issues.apache.org/jira/browse/FLINK-28757
> Project: Flink
> Issue Type: Improvement
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.13.6, 1.14.5, 1.15.1
> Reporter: Weike Dong
> Priority: Minor
>
> Currently, TIME fields in JSON Format could only support a precision with
> ZERO decimal places, like '12:33:16', regardless of the precision of the
> original data ingested from the sources.
> However, since Flink internally uses Integer to store the values of TIME
> fields, the precision could be easily extended to 3 decimal places, like
> '12:33:16.235', which has been confirmed by switching to other formats or
> modifying
> _org.apache.flink.formats.json.JsonToRowDataConverters#convertToTime_
> Hence I propose the extend the precision of TIME fields in JSON Format from 0
> to 3.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)