rajkrrsingh commented on pull request #1460:
URL: https://github.com/apache/hive/pull/1460#issuecomment-714908537
> I had a second look at this change, and instead of creating a new
SessionState to get the timezone I would do the following:
> if (timeZone == null) {
> timeZone = SessionState.get() == null ? new HiveConf().getLocalTimeZone()
: SessionState.get().getConf()
> .getLocalTimeZone();
> formatter.setTimeZone(TimeZone.getTimeZone(timeZone));
> }
updated the pull request, please review. Thanks
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]