orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mareike Höger (JIRA) <j...@apache.org>
Subject [jira] [Created] (ORC-439) DateTreeWriter casts long value to int
Date Thu, 22 Nov 2018 12:43:00 GMT
Mareike Höger created ORC-439:
---------------------------------

             Summary: DateTreeWriter casts long value to int
                 Key: ORC-439
                 URL: https://issues.apache.org/jira/browse/ORC-439
             Project: ORC
          Issue Type: Bug
            Reporter: Mareike Höger


The DateTreeWriter.writeBatch method casts the given long values to int.

It should work with long values or at least give an Exception in case of an overflow.

In the current version trying to write out java.time.LocalDate.MAX or MIN causes a wrong value
been written to the ColumnVector.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message