Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11127
Change subject: IMPALA-6709: Simplify tests that copy local files to tables ...................................................................... IMPALA-6709: Simplify tests that copy local files to tables We had quite a few tests that used "hdfs dfs -copyFromLocal" to copy a single Parquet file to the warehouse directory and created a table from this file. This operation needs some boilerplate code that I refactored to a new function called create_table_from_file(). I only refactored tests that work on Parquet files since we only have a CREATE TABLE LIKE statement for this format. I didn't modify tests that copy more than one file or for some reason the new method was not feasible. Change-Id: Ie00a4561825facf8abe2e8e74a6b6e93194f416f --- M testdata/workloads/functional-query/queries/QueryTest/parquet-def-levels.test A tests/common/test_parquet.py M tests/query_test/test_parquet_stats.py M tests/query_test/test_scanners.py 4 files changed, 59 insertions(+), 104 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/27/11127/1 -- To view, visit http://gerrit.cloudera.org:8080/11127 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie00a4561825facf8abe2e8e74a6b6e93194f416f Gerrit-Change-Number: 11127 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
