You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2020/06/15 09:49:00 UTC

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

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)