zabetak opened a new pull request, #3698: URL: https://github.com/apache/hive/pull/3698
### What changes were proposed in this pull request? 1. Unify converters from Parquet INT64 to Hive types. 2. Add tests reading from Parquet INT64 timestamp to various Hive numeric types. ### Why are the changes needed? Restore backward compatibility; allow mapping INT64 timestamps with timestamp annotation to the following Hive numeric types: * TINYINT * SMALLINT * INT * DOUBLE * FLOAT * DECIMAL For more details see HIVE-26658. ### Does this PR introduce _any_ user-facing change? Avoids errors/exceptions when attempting to map Parquet INT64 with timestamp to anything except TIMESTAMP & BIGINT. ### How was this patch tested? ``` mvn test -Dtest=TestETypeConverter mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=parquet_int64_timestamp_to_numeric.q ``` -- 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]
