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

Jark Wu updated FLINK-18299:
----------------------------
    Description: 
Add format option 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}' format, e.g. '2020-12-30T12:13:14.123' and 
output timestamp in the same way.

  was:
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}' format, e.g. '2020-12-30T12:13:14.123' and 
output timestamp in the same way.


> 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: Sub-task
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.11.0
>            Reporter: Shengkai Fang
>            Priority: Major
>
> Add format option 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}' format, e.g. '2020-12-30T12:13:14.123' 
> and output timestamp in the same way.



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

Reply via email to