kou commented on issue #40619: URL: https://github.com/apache/arrow/issues/40619#issuecomment-2002694077
This may be a timezone issue. `TZ=UTC mvn clean install` will fix this. It seems that `45935000` is `1970-01-01T12:45:35Z` in UNIX time (unit is milliseconds not seconds). https://github.com/apache/arrow/blob/555ce5c667c67a7fa033c3903685c0de888a182d/java/adapter/jdbc/src/test/resources/h2/test1_all_datatypes_h2.yml#L20 ```console $ ruby -r time -e 'p Time.parse("1970-01-01T12:45:35Z").to_i * 1000' 45935000 ``` +05:30 UNIX time is `65735000`: ```console $ ruby -r time -e 'p (Time.parse("1970-01-01T12:45:35Z").to_i + (5.5 * 60 * 60)) * 1000' 65735000.0 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
