commit | e3ed1b649b1a65292a81f7aeeb3985147ecaebb6 | [log] [tgz] |
---|---|---|
author | Anton Gozhiy <anton5813@gmail.com> | Wed Dec 12 20:24:46 2018 +0200 |
committer | Abhishek Girish <agirish@apache.org> | Wed Dec 12 10:24:46 2018 -0800 |
tree | 308b2c1f7cc2d8e6dd326c88400b771039832e15 | |
parent | 17581dee27f668f4eb59767925137452cb2b862c [diff] |
DRILL-6834: Added possibility to run queries that don't return result set. (#521) An option "exec.return_result_set_for_ddl" was introduced in Drill, when it is false, some queries don't return result set, that cause an SQL exception in Drill Test Framework. To fix that, Statement execute() method now used instead of executeQuery(). Also added required null checks.
Test Framework for SQL on Hadoop technologies. Currently supports Apache Drill, a schema-free SQL query engine for Hadoop, NoSQL and cloud storage.
The framework is built for regression, integration & sanity testing. Includes test coverage (with baselines) for core Drill functionality, and supported features. And are used by the Apache Drill community for pre-commit regression and part of the release criteria.
To begin using the test framework, you need to build the project and download dependent datasets (configured in pom.xml).
git clone git@github.com:mapr/drill-test-framework.git cd drill-test-framework bin/build_framework -Pdownload
If you've already downloaded the datasets previously, you can simply skip the download.
In the root directory of your repository, execute the following command to run tests:
bin/run_tests -s <suites> -g <groups> -t <Timeout> -x <Exclude> -n <Concurrency> -d
Example:
We encourage contributions from users! You can fix bugs, make enhancements or add new tests. Create a PR here on GitHub for your change.
Refer to CONTRIBUTING.md for details on the test framework structure and instructions on how to contribute.
Licensed under the Apache License 2.0. Please see LICENSE.md