wgtmac commented on pull request #967:
URL: https://github.com/apache/orc/pull/967#issuecomment-985371206


   > > Also, cc @wgtmac since C++ tool seems to have the same issue according 
to the JIRA.
   > 
   > I have also debugged some of the C++ code. It looks like `strptime` can't 
convert values before 1970 on mac os.
   > 
   > 
https://github.com/apache/orc/blob/334bf1f2c605f38c7e75ec81d1dab93c31fc8459/tools/src/CSVFileImport.cc#L257
   
   Pre-1970 timestamp is a notorious issue. Not sure if these test cases will 
help: 
   https://github.com/apache/orc/blob/main/c%2B%2B/test/TestWriter.cc#L621
   https://github.com/apache/orc/blob/main/c%2B%2B/test/TestWriter.cc#L741


-- 
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: dev-unsubscr...@orc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to