You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/02/28 17:03:00 UTC
[jira] [Created] (DRILL-6196) Upgrade HiveTestDataGenerator to
leverage "schematool"
Vitalii Diravka created DRILL-6196:
--------------------------------------
Summary: Upgrade HiveTestDataGenerator to leverage "schematool"
Key: DRILL-6196
URL: https://issues.apache.org/jira/browse/DRILL-6196
Project: Apache Drill
Issue Type: Improvement
Components: Tools, Build & Test
Reporter: Vitalii Diravka
Since version 2.0, Hive uses ["schematool"|https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool] to create the necessary schema in the metastore on a startup if one doesn't exist.
The old method via using datanucleus property "METASTORE_AUTO_CREATE_ALL" is [deprecated|https://github.com/apache/hive/blob/branch-2.1/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L718].
That is especially needed to add test cases for transactional tables - [https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)