Hi Everyone,

since this ticket is merged, it is possible to run not just one qtest with
a specified DB instead of Derby (default), but multiple one:
https://issues.apache.org/jira/browse/HIVE-28037

I would like to update this page:
https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowdoIruntheclientpositive/clientnegativeunittests
?

"To run test test with a specified DB it is possible by adding
"-Dtest.metastore.db" parameter like in the following commands:

mvn test -Pitests -pl itests/qtest -Dtest=TestCliDriver
-Dqfile=partition_params_postgres.q -Dtest.metastore.db=postgres
mvn test -Pitests -pl itests/qtest -Dtest=TestCliDriver
-Dqfile=partition_params_postgres.q -Dtest.metastore.db=mssql
mvn test -Pitests -pl itests/qtest -Dtest=TestCliDriver
-Dqfile=partition_params_postgres.q -Dtest.metastore.db=mysql
mvn test -Pitests -pl itests/qtest -Dtest=TestCliDriver
-Dqfile=partition_params_postgres.q -Dtest.metastore.db=oracle
-Ditest.jdbc.jars=/path/to/your/god/damn/oracle/jdbc/driver/ojdbc6.jar
"

I do not have permission to modify the page.

Could you please help, so I can add this?

Regards,

Zoltan Ratkai

Reply via email to