You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Talat Uyarer (Jira)" <ji...@apache.org> on 2026/03/14 22:47:00 UTC

[jira] [Created] (FLINK-39251) Support Nanosecond Logical Types in Flink Avro

Talat Uyarer created FLINK-39251:
------------------------------------

             Summary: Support Nanosecond Logical Types in Flink Avro
                 Key: FLINK-39251
                 URL: https://issues.apache.org/jira/browse/FLINK-39251
             Project: Flink
          Issue Type: Improvement
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 2.2.0
            Reporter: Talat Uyarer


Currently, the Flink Avro format support for `TIMESTAMP` and `TIMESTAMP_WITH_LOCAL_TIME_ZONE` is capped at microsecond precision (6). 
Standard Apache Avro (up to 1.11) only defines logical types for `timestamp-millis` and `timestamp-micros`.

When Flink tables utilize *{*}nanosecond precision (`TIMESTAMP(9)`){*}*, there is no native Avro logical type mapping, leading to unsupported type exceptions during automatic schema conversion.



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