You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by tm...@apache.org on 2018/08/14 01:31:41 UTC

[3/6] impala git commit: IMPALA-7347: Ignore numFilesErasureCoded in TestShowCreateTable

IMPALA-7347: Ignore numFilesErasureCoded in TestShowCreateTable

This table properties only exist for HDFS tables. To get the test work
on local tables, it needs to be ignored.

Change-Id: Icc8494fb91c4777cee662a97f750486aa8e79a8e
Reviewed-on: http://gerrit.cloudera.org:8080/11192
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/3cb78431
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/3cb78431
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/3cb78431

Branch: refs/heads/master
Commit: 3cb784310f16547be850228cdf03cfc115721857
Parents: 13c6116
Author: Tianyi Wang <ti...@apache.org>
Authored: Wed Aug 8 15:08:20 2018 -0700
Committer: Impala Public Jenkins <im...@cloudera.com>
Committed: Mon Aug 13 21:36:16 2018 +0000

----------------------------------------------------------------------
 .../functional-query/queries/QueryTest/show-create-table.test      | 1 -
 tests/metadata/test_show_create_table.py                           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/3cb78431/testdata/workloads/functional-query/queries/QueryTest/show-create-table.test
----------------------------------------------------------------------
diff --git a/testdata/workloads/functional-query/queries/QueryTest/show-create-table.test b/testdata/workloads/functional-query/queries/QueryTest/show-create-table.test
index 0625b32..3c48957 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/show-create-table.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/show-create-table.test
@@ -252,7 +252,6 @@ ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
 STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'
           OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
 LOCATION '$$location_uri$$'
-TBLPROPERTIES ('numFilesErasureCoded'='0')
 ====
 ---- QUERY
 SHOW CREATE TABLE functional.allcomplextypes

http://git-wip-us.apache.org/repos/asf/impala/blob/3cb78431/tests/metadata/test_show_create_table.py
----------------------------------------------------------------------
diff --git a/tests/metadata/test_show_create_table.py b/tests/metadata/test_show_create_table.py
index 00b63ef..092a834 100644
--- a/tests/metadata/test_show_create_table.py
+++ b/tests/metadata/test_show_create_table.py
@@ -35,7 +35,7 @@ class TestShowCreateTable(ImpalaTestSuite):
   FILTER_TBL_PROPERTIES = ["transient_lastDdlTime", "numFiles", "numPartitions",
                            "numRows", "rawDataSize", "totalSize", "COLUMN_STATS_ACCURATE",
                            "STATS_GENERATED_VIA_STATS_TASK", "last_modified_by",
-                           "last_modified_time"]
+                           "last_modified_time", "numFilesErasureCoded"]
 
   @classmethod
   def get_workload(self):