You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2023/02/22 07:39:01 UTC

[impala] 01/04: IMPALA-11932: skip test_partition_key_scans_with_multiple_blocks_table under erasure coding

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

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

commit 47e67afbcaa14d9b72f5bcb48555cce5eb2fb3a5
Author: zhangyifan27 <ch...@163.com>
AuthorDate: Mon Feb 20 10:35:51 2023 +0800

    IMPALA-11932: skip test_partition_key_scans_with_multiple_blocks_table under erasure coding
    
    The erasure coding policy used in our test is RS-3-2-1024k, which
    requires the block size should not less than 1MB. The test introduced
    in IMPALA-11081 use 'dfs.block.size=1024' to create multiple blocks
    table, we should skip this test under erasure coding to avoid test
    failures.
    
    Change-Id: I0f088102c380df89f56870d901852f7dde2d72fe
    Reviewed-on: http://gerrit.cloudera.org:8080/19515
    Reviewed-by: Quanlong Huang <hu...@gmail.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 tests/query_test/test_queries.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/query_test/test_queries.py b/tests/query_test/test_queries.py
index 5d747fcda..dbde99a2f 100644
--- a/tests/query_test/test_queries.py
+++ b/tests/query_test/test_queries.py
@@ -22,11 +22,12 @@ import re
 from copy import deepcopy
 
 from tests.common.impala_test_suite import ImpalaTestSuite
-from tests.common.skip import SkipIfEC, SkipIfCatalogV2, SkipIfNotHdfsMinicluster
+from tests.common.skip import (
+    SkipIfEC, SkipIfCatalogV2, SkipIfNotHdfsMinicluster, SkipIfFS)
 from tests.common.test_dimensions import (
-   create_uncompressed_text_dimension, create_exec_option_dimension_from_dict,
-   create_client_protocol_dimension, hs2_parquet_constraint,
-   extend_exec_option_dimension, FILE_FORMAT_TO_STORED_AS_MAP)
+    create_uncompressed_text_dimension, create_exec_option_dimension_from_dict,
+    create_client_protocol_dimension, hs2_parquet_constraint,
+    extend_exec_option_dimension, FILE_FORMAT_TO_STORED_AS_MAP)
 from tests.util.filesystem_utils import get_fs_path
 from subprocess import check_call
 
@@ -363,6 +364,7 @@ class TestPartitionKeyScansWithMultipleBlocks(ImpalaTestSuite):
     self.client.execute("alter table %s.alltypes_multiblocks recover partitions"
         % (unique_database))
 
+  @SkipIfFS.hdfs_small_block
   def test_partition_key_scans_with_multiple_blocks_table(self, vector, unique_database):
     self._build_alltypes_multiblocks_table(vector, unique_database)
     result = self.execute_query_expect_success(self.client,