Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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 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).
Attachments
Issue Links
- relates to
-
HIVE-26000 DirectSQL to prune partitions fails with postgres backend for Skewed-Partition tables
- Resolved
-
HIVE-21954 QTest: support for running qtests on various metastore DBs
- Closed
-
HIVE-25594 Setup JDBC databases in tests via QT options
- Closed