[jira] [Created] (FLINK-18299) Add keyword in json format to parse timestamp in different standard

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18299) Add keyword in json format to parse timestamp in different standard

Shang Yuanchun (Jira)
Shengkai Fang created FLINK-18299:
-------------------------------------

             Summary: Add keyword in json format to parse timestamp in different standard
                 Key: FLINK-18299
                 URL: https://issues.apache.org/jira/browse/FLINK-18299
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.11.0
            Reporter: Shengkai Fang


Add keyword such as 'timestamp-format.standard' in json format to parse timestamp in different format. In this issue, we will support value 'SQL' and 'ISO-8601': 
 * Option 'SQL' will parse input timestamp in 'yyyy-MM-dd HH:mm:ss.s\{precision}' format, e.g. '2020-12-30 12:13:14.123' and output timestamp in the same way.
 * Option 'ISO-8601' will parse input timestamp in 'yyyy-MM-ddTHH:mm:ss.s\{precision}', e.g. '2020-12-30T12:13:14.123' format and output timestamp in the same way.



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