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

waywtdcc updated FLINK-29699:
-----------------------------
    Description: 
When I use flink cdc to read oracle, the time type data returned by cdc is a 
long type timestamp. I want to convert it to timestamp type, but it is not 
supported.

 

1. JSON parsing supports converting long timestamps into flink timestamp types, 
for example, supporting JSON parsing of 1666255300000 numbers into timestamp
2. JSON analysis supports the conversion of WITH_LOCAL_TIMEZONE string data 
into flink timestamp type, for example, it supports 
1990-10-14T12:12:43.123456789Z into timestamp type

  was:
1. JSON parsing supports converting long timestamps into flink timestamp types, 
for example, supporting JSON parsing of 1666255300000 numbers into timestamp
2. JSON analysis supports the conversion of WITH_LOCAL_TIMEZONE string data 
into flink timestamp type, for example, it supports 
1990-10-14T12:12:43.123456789Z into timestamp type


> Json format parsing supports converting strings  at the end with Z and 
> numbers to timestamp
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-29699
>                 URL: https://issues.apache.org/jira/browse/FLINK-29699
>             Project: Flink
>          Issue Type: Improvement
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.16.0
>            Reporter: waywtdcc
>            Assignee: waywtdcc
>            Priority: Major
>              Labels: pull-request-available
>
> When I use flink cdc to read oracle, the time type data returned by cdc is a 
> long type timestamp. I want to convert it to timestamp type, but it is not 
> supported.
>  
> 1. JSON parsing supports converting long timestamps into flink timestamp 
> types, for example, supporting JSON parsing of 1666255300000 numbers into 
> timestamp
> 2. JSON analysis supports the conversion of WITH_LOCAL_TIMEZONE string data 
> into flink timestamp type, for example, it supports 
> 1990-10-14T12:12:43.123456789Z into timestamp type



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to