[
https://issues.apache.org/jira/browse/DRILL-6196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vitalii Diravka updated DRILL-6196:
-----------------------------------
Description:
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]
Once DRILL-5978 and DRILL-6195 are merged, it is necessary here to create test
cases for partitioned and non-partitioned transnational tables.
was:
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]
> 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
> Priority: Minor
>
> 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]
> Once DRILL-5978 and DRILL-6195 are merged, it is necessary here to create
> test cases for partitioned and non-partitioned transnational tables.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)