vvysotskyi opened a new pull request #2038: DRILL-6604: Upgrade Drill Hive 
client to Hive3.1 version
URL: https://github.com/apache/drill/pull/2038
   # [DRILL-6604](https://issues.apache.org/jira/browse/DRILL-6604): Upgrade 
Drill Hive client to Hive3.1 version
   ## Description
   One of the major changes in this PR is cleaning up the output for Hive 
tests. Now, almost all hive-related stuff is not printed to the stdout.
   Additionally, the Hive version was updated to the latest (at the current 
time) version 3.1.2.
   New Hive version introduced new `ObjectInspector` classes for date and 
timestamp values, so to be able to compile with other versions, code was 
updated to use correct class names (see changes in `tdd` files and related 
   As for any other Hive update, Dill wouldn't be able to work with previous 
Hive versions, but for users, who still want to do it, it is possible to 
compile manually Drill with setting the following properties:
   `hive.version=2.3.2` (or any other version in range [2.3.2-3.1.2]), 
`freemarker.conf.file=src/main/codegen/config.fmpp` (or 
`src/main/codegen/configHive3.fmpp` for versions where new date / timestamp 
classes were introduced).
   Example of usage:
   mvn clean install -DskipTests -Dhive.version=2.3.2 
   ## Documentation
   A new supported Hive version should be documented.
   ## Testing
   Ran all tests suite, checked manually that Drill is able to select from new 

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:

With regards,
Apache Git Services

Reply via email to