wgtmac opened a new pull request, #1587:
URL: https://github.com/apache/orc/pull/1587

   ### What changes were proposed in this pull request?
   Check the availability of TZDB and throw helpful error message before it 
crashes.
   
   ### Why are the changes needed?
   When local IANA TZDB is unavailable or TZDIR env is not properly set, 
getTimezoneByName() simply fails without much helpful guidance on what to do.
   
   ### How was this patch tested?
   Added a test case TestTimezone.testMissingTZDB to make sure error message is 
as expected.
   


-- 
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]

Reply via email to