zabetak commented on PR #3418:
URL: https://github.com/apache/hive/pull/3418#issuecomment-1177583388

   Hive has been always converting data from local time zone to UTC when 
writing and from UTC to local time zone when reading. I updated the way the the 
timestamp is stored in HBase 
(https://github.com/apache/hive/pull/3418/commits/fc9bc94be427a02485b089c2aeb6b494644beb05)
 to make it coherent with the way it is read by the query. 
   
   There are properties and Avro file metadata which can control if we want to 
perform the conversion or not (e.g., `hive.avro.timestamp.skip.conversion`) but 
these are not working at the moment for HBase (and basically anything that 
relies on `AvroLazyObjectInspector`). This is a bug that should be fixed but it 
is out of the scope of this PR.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to