commit | d420732bd8b7b5388d39b5ab1fae0efe00a29dd0 | [log] [tgz] |
---|---|---|
author | Abhishek Girish <agirish@mapr.com> | Fri Jan 15 18:17:44 2016 -0800 |
committer | Abhishek Girish <agirish@mapr.com> | Fri Jan 15 18:17:44 2016 -0800 |
tree | a4d77c60d2728ccbc5f6d02a208bd4a22bd4062f | |
parent | ae97c6e9d53da113047a6262351f28aa3dc8d2aa [diff] |
[Fix] Updating hive_functions suite
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. A subset of these tests are used by the Apache Drill community for pre-commit and pre-release criteria.
Refer to Github documentation on how to clone a repository.
drillTestConfig
file from framework/src/main/resources
to your home directory as ~/.drillTestConfig
. Edit suitably, following instructions in the file..drillTestConfig
. Confirm DRILL_HOME
and other required environment variables are set.framework/resources/[Functional/Advanced]
directory, create a directory for a new test suite (or cd
to an existing test suite).query1.sql
) and expected result files (ex: query1.e_tsv
) are co-located and share the same name.framework/resources/Datasources
directory, create corresponding datasource directories and copy over any required scripts and datasets required by the tests.In the framework
directory, execute mvn clean install
first, to build the project and also download any dependent datasets configured in pom.xml
In the framework
directory, execute the following command to run tests:
./run.sh -s <suites> -g <groups> -t <Timeout> -x <Exclude> -n <Concurrency>
Example:
Zhiyong
Chun
Krystal
Ramana
Abhishek
Vicky
Suresh
Khurram
Rahul
Steven
Jacques
Jason
Sudheesh