You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Laszlo Bodor (JIRA)" <ji...@apache.org> on 2018/08/10 11:40:00 UTC

[jira] [Updated] (HIVE-20360) QTest: enable command line argument to force using a particular driver

     [ https://issues.apache.org/jira/browse/HIVE-20360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Bodor updated HIVE-20360:
--------------------------------
    Description: 
Sometimes I need to run qtests with another driver for testing purposes. In this case I have to edit testconfiguration.properties which seems a bit hacky, even if it's temporary.

In this case, no tests will run.
{code}
mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver -Dqfile=bucketizedhiveinputformat.q
{code}

Let's support -Dtest.force.driver to use TestCliDriver.
{code}
mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver -Dqfile=bucketizedhiveinputformat.q -Dtest.force.driver=true
{code}

> QTest: enable command line argument to force using a particular driver
> ----------------------------------------------------------------------
>
>                 Key: HIVE-20360
>                 URL: https://issues.apache.org/jira/browse/HIVE-20360
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Laszlo Bodor
>            Assignee: Laszlo Bodor
>            Priority: Major
>
> Sometimes I need to run qtests with another driver for testing purposes. In this case I have to edit testconfiguration.properties which seems a bit hacky, even if it's temporary.
> In this case, no tests will run.
> {code}
> mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver -Dqfile=bucketizedhiveinputformat.q
> {code}
> Let's support -Dtest.force.driver to use TestCliDriver.
> {code}
> mvn test -Pitests -pl itests/qtest -pl itests/util -Dtest=TestCliDriver -Dqfile=bucketizedhiveinputformat.q -Dtest.force.driver=true
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)