Patrick Woody created ARROW-9973:
------------------------------------

             Summary: [Java] JDBC DateConsumer does not allow dates before epoch
                 Key: ARROW-9973
                 URL: https://issues.apache.org/jira/browse/ARROW-9973
             Project: Apache Arrow
          Issue Type: Bug
          Components: Java
    Affects Versions: 1.0.1
            Reporter: Patrick Woody


DateConsumer seems to do an overflow check when converting from a SQL Date and 
sees if the TimeUnit.MILLISECONDS.toDays(<sql time>) is negative. This is how 
any date less than 1970-01-01 will be represented, so unfortunately the adapter 
breaks for these values.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to