You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Thomas Weise (Jira)" <ji...@apache.org> on 2022/05/02 04:50:00 UTC

[jira] [Created] (FLINK-27465) AvroRowDeserializationSchema.convertToTimestamp fails with negative nano seconds

Thomas Weise created FLINK-27465:
------------------------------------

             Summary: AvroRowDeserializationSchema.convertToTimestamp fails with negative nano seconds
                 Key: FLINK-27465
                 URL: https://issues.apache.org/jira/browse/FLINK-27465
             Project: Flink
          Issue Type: Bug
          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
    Affects Versions: 1.15.0
            Reporter: Thomas Weise
            Assignee: Thomas Weise


The issue is exposed due to time zone dependency in AvroRowDeSerializationSchemaTest.
 
The root cause is that convertToTimestamp attempts to set negative value with java.sql.Timestamp.setNanos



--
This message was sent by Atlassian Jira
(v8.20.7#820007)