You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by bo...@apache.org on 2022/08/26 13:46:06 UTC

[impala] 02/03: IMPALA-11520: Remove functional.unsupported_types misc test

This is an automated email from the ASF dual-hosted git repository.

boroknagyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 423b0877621b26eb5d198b7258ee1b67b9f51ddb
Author: Tamas Mate <tm...@apache.org>
AuthorDate: Tue Aug 23 11:26:04 2022 +0200

    IMPALA-11520: Remove functional.unsupported_types misc test
    
    IMPALA-9482 added support to the remaining Hive types and removed the
    functional.unsupported_types table. There was a reference remaining in a
    misc test. test_misc is not marked as exhaustive but it only runs in
    exhaustive builds.
    
    Change-Id: I65b6ea5ac742fbcc427ad41741d347558cb7d110
    Reviewed-on: http://gerrit.cloudera.org:8080/18896
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 .../workloads/functional-query/queries/QueryTest/misc.test   | 12 ------------
 tests/query_test/test_queries.py                             |  1 +
 2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/testdata/workloads/functional-query/queries/QueryTest/misc.test b/testdata/workloads/functional-query/queries/QueryTest/misc.test
index 4bd6db4d4..23df8e706 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/misc.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/misc.test
@@ -118,18 +118,6 @@ SELECT 1 as "``"
 tinyint
 ====
 ---- QUERY
-#  Select from table that contains unsupported primitive types
-SELECT int_col, str_col, bigint_col from functional.unsupported_types
----- RESULTS
-0,'aaaa',0
-1,'bbbb',10
-2,'cccc',20
-NULL,'NULL',NULL
-4,'eeee',40
----- TYPES
-int, string, bigint
-====
----- QUERY
 # where clause is a SlotRef
 SELECT count(*) from alltypes where bool_col
 ---- RESULTS
diff --git a/tests/query_test/test_queries.py b/tests/query_test/test_queries.py
index afd7354e9..7b19dd23a 100644
--- a/tests/query_test/test_queries.py
+++ b/tests/query_test/test_queries.py
@@ -183,6 +183,7 @@ class TestQueries(ImpalaTestSuite):
       pytest.xfail("TODO: Enable with clause tests for hbase")
     self.run_test_case('QueryTest/with-clause', vector)
 
+  # TODO: Although it is not specified this test only runs in exhaustive.
   def test_misc(self, vector):
     table_format = vector.get_value('table_format')
     if table_format.file_format in ['hbase', 'rc', 'parquet', 'kudu']: