commit | 308215d6a7968c07b1aa8082673acb2a91a95cac | [log] [tgz] |
---|---|---|
author | Abhishek Ravi <abhi.ravi@gmail.com> | Thu Dec 20 04:15:07 2018 +0530 |
committer | GitHub <noreply@github.com> | Thu Dec 20 04:15:07 2018 +0530 |
tree | fef109dc71021d7725ff655d8dd712622d5a466c | |
parent | 3c734a2ec5792b2b5f34cb02dcc593d3a587f973 [diff] |
Advanced data verification and plan verification tests for RuntimeFilter (#514) * Advanced data verification and plan verification tests for RuntimeFilter Runtime filter was added to DRILL as a part of DRILL-6385, DRILL-6731 and DRILL-6792. This PR contains the following changes - Data verification tests for broadcast and hash joins with join on different data types. - Plan verification tests to verify Runtime Filter is applied on probe side scan, wherever applicable. - The queries are run against TPC-H SF 100 data * Minor fix, remove tsv header for nested broadcast scenario * Incorporated review comments - Changed .q and .q.explain extensions to .sql and .sql.explain. - Explictly enable / disable broadcast join and set the threshold so that change in default values for these parameters will not affect the tests. - Round decimals to 3 digits to have more stable test case verification. - Remove "alter session" to conform with standard for setting / resetting session level parameters.
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