Stamatis Zampetakis created HIVE-26005:
------------------------------------------

             Summary: Run selected qtest on different metastore backends
                 Key: HIVE-26005
                 URL: https://issues.apache.org/jira/browse/HIVE-26005
             Project: Hive
          Issue Type: Improvement
          Components: Testing Infrastructure
            Reporter: Stamatis Zampetakis


In various cases there are bugs which affect only certain types of metastore 
databases (e.g., HIVE-26000) and it would be nice to be able to specify for 
each test or a bunch of tests which metastore backend to use and have these 
tests consistently running in CI.

After HIVE-21954, it is possible to run qtests on different metastores by 
setting the system property {{test.metastore.db}} or introducing new 
[AbstractCliConfig|https://github.com/apache/hive/blob/fcd0a47c2e27defb04247ffca6da11734e3e25c3/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/AbstractCliConfig.java]
 configuration with a new driver etc.

The naive way of implementing this task would be to copy an existing 
configuration, change the metastore type, select the input files, and create a 
new driver (probably again a copy from {{CoreCliDriver}}. 

Other ideas would be to allow a driver to run with multiple configurations, or 
handle the selection of the metastore type via QT options (similar to what was 
done in HIVE-25594).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to