commit | 39c489a50f3e3150dfb42dd24e8085e207edf347 | [log] [tgz] |
---|---|---|
author | Anton Gozhiy <anton5813@gmail.com> | Tue Dec 11 19:33:01 2018 +0200 |
committer | Abhishek Girish <agirish@apache.org> | Tue Dec 11 09:33:01 2018 -0800 |
tree | ab3970fd786445d378ae45448d777d78470c5d31 | |
parent | 6bbe2500369839ffec49367773351fd28ad83345 [diff] |
DRILL-5796: Added filter pushdown tests for files with multiple row groups. (#519) Before changes: ``` Functional/filter/pushdown |_data |_plan |_regex |_regex_no_order ``` After changes: ``` Functional/filter/pushdown |_boolean_null |_cast |_complex_fields |_general |_item_star_operator |_multiple_row_groups |_union ``` Details: * Added new tests to multiple_row_groups folder. They verify that filter pushdown is working for parquet files with more than one row group. * Moved existing tests to separate folders depending on a feature tested. * Combined data and plan verifications within single directories. * Moved schema definitions from the queries to the json files (like dfs.drillTestDir). * Changed extension of some tests to match the guidelines (*.sql.explain, *.plan)
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