You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "David Anderson (Jira)" <ji...@apache.org> on 2022/06/15 12:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-27465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554571#comment-17554571 ] 

David Anderson commented on FLINK-27465:
----------------------------------------

Fixed in master via 9ecdc5fa10caf671c6fa823bff9c00b3a2dd1500

Fixed in 1.15.1 via 85c9612daae5c56f16de41fbd0ce2e5958d1762c

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.16.0, 1.15.1
>
>
> 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)