cdmikechen opened a new pull request #871: HIVE-22224: Support Parquet-Avro Timestamp Type in Hive2 URL: https://github.com/apache/hive/pull/871 Parquet-avro 1.8.2 use Avro 1.8 which support avro logical_type, but hive use avro 1.7. So that hive just use primitive types to read avro. In avro 1.8, decimal can be transformed to fix, and date can transformed to int (logical_type= date), hive can read these two type with primitive types fix and int. But timestamp will be transformed to long (logical_type=timestamp-micros). If user create a table with column timestamp, hive will report error that long can not cast to timestamp. So I create a PR to let hive can read long as timestamp.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
