You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "yisha zhou (Jira)" <ji...@apache.org> on 2024/02/28 08:23:00 UTC

[jira] [Created] (FLINK-34536) Support reading long value as Timestamp column in JSON format

yisha zhou created FLINK-34536:
----------------------------------

             Summary: Support reading long value as Timestamp column in JSON format
                 Key: FLINK-34536
                 URL: https://issues.apache.org/jira/browse/FLINK-34536
             Project: Flink
          Issue Type: Improvement
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.19.0
            Reporter: yisha zhou


In many scenarios, timestamp data is stored as Long value and expected to be operated as Timestamp value. It's not user-friendly to use an UDF to convert the data before operating it.

Meanwhile, in Avro format, it seems it can receive several types of input and convert it into TimestampData. Hope the same ability can be introduced into JSON format.



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