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

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

commit 0aa1f3a5feb052f7c1bccb771f40fdbc28b8ed05
Author: Zoltan Borok-Nagy <[email protected]>
AuthorDate: Mon Dec 18 16:47:42 2023 +0100

    IMPALA-12628: iceberg negative test fail in non-HDFS environments
    
    There's a HIVE_QUERY section in iceberg-negative.test. Such sections
    use Hive to execute statements. In non-HDFS environments like S3,
    Ozone, etc. Hive is not configured properly, so we cannot use
    it.
    
    This patch adds the '---- IS_HDFS_ONLY' section to the relevant
    test blocks (The HIVE_QUERY that creates the table, and the
    Impala test that checks an error message).
    
    Change-Id: I7987724f11d0c88d09577f52294ecc10d8ce39ce
    Reviewed-on: http://gerrit.cloudera.org:8080/20812
    Reviewed-by: Csaba Ringhofer <[email protected]>
    Tested-by: Zoltan Borok-Nagy <[email protected]>
---
 .../workloads/functional-query/queries/QueryTest/iceberg-negative.test  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test 
b/testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test
index cd22079b2..c7ecc8785 100644
--- 
a/testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test
+++ 
b/testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test
@@ -840,11 +840,13 @@ update functional_parquet.iceberg_int_partitioned set 
file__position = 42;
 ---- CATCH
 AnalysisException: Left-hand side in assignment expression 'file__position=42' 
must be a column reference
 ====
+---- IS_HDFS_ONLY
 ---- HIVE_QUERY
 CREATE TABLE $DATABASE.ice_v2_timestamptz (i int, ts TIMESTAMP WITH LOCAL TIME 
ZONE)
 STORED BY ICEBERG
 TBLPROPERTIES ('format-version'='2');
 ====
+---- IS_HDFS_ONLY
 ---- QUERY
 invalidate metadata $DATABASE.ice_v2_timestamptz;
 update ice_v2_timestamptz set i = 3;

Reply via email to