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)

Reply via email to