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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5b155c139 IMPALA-12470: Skip JDBC data source tests for non-HDFS 
environment
5b155c139 is described below

commit 5b155c13929ea8636fa2dfbdfc07a0acb48b0f3e
Author: wzhou-code <[email protected]>
AuthorDate: Wed Oct 11 09:33:08 2023 -0700

    IMPALA-12470: Skip JDBC data source tests for non-HDFS environment
    
    IMPALA-5741 added initial support for external JDBC data source. But
    the JDBC driver URL only works for HDFS now, other schemes like ozone
    are still under developemnt.
    
    This patch turns off tests of JDBC data source for non-HDFS
    environments temporally.
    
    Testing:
      - Manually ran tests/query_test/test_ext_data_sources.py
    
    Change-Id: I4b162767afc567065ae61961ffb376c17c32ec29
    Reviewed-on: http://gerrit.cloudera.org:8080/20563
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 tests/query_test/test_ext_data_sources.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/query_test/test_ext_data_sources.py 
b/tests/query_test/test_ext_data_sources.py
index b32d39cd9..17587bc91 100644
--- a/tests/query_test/test_ext_data_sources.py
+++ b/tests/query_test/test_ext_data_sources.py
@@ -18,7 +18,7 @@
 from __future__ import absolute_import, division, print_function
 
 from tests.common.impala_test_suite import ImpalaTestSuite
-from tests.common.skip import SkipIfCatalogV2
+from tests.common.skip import SkipIfCatalogV2, SkipIf
 from tests.common.test_dimensions import create_uncompressed_text_dimension
 
 
@@ -60,6 +60,7 @@ class TestExtDataSources(ImpalaTestSuite):
     return properties
 
   @SkipIfCatalogV2.data_sources_unsupported()
+  @SkipIf.not_hdfs
   def test_verify_jdbc_table_properties(self, vector):
     jdbc_tbl_name = "functional.alltypes_jdbc_datasource"
     properties = self._get_tbl_properties(jdbc_tbl_name)
@@ -80,5 +81,6 @@ class TestExtDataSources(ImpalaTestSuite):
     self.run_test_case('QueryTest/data-source-tables', vector)
 
   @SkipIfCatalogV2.data_sources_unsupported()
+  @SkipIf.not_hdfs
   def test_jdbc_data_source(self, vector):
     self.run_test_case('QueryTest/jdbc-data-source', vector)

Reply via email to