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

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

commit 43b01859bd127d1453c88a3bbb76217a106cfca1
Author: Michael Smith <[email protected]>
AuthorDate: Thu Dec 8 09:57:25 2022 -0800

    IMPALA-11751: (Addendum) fix test for Ozone
    
    Use FILESYSTEM_PREFIX to make test relocatable, as required by the Ozone
    test environment.
    
    Testing: ran test with Ozone.
    
    Change-Id: Ic16322d90bd4039ec5ce2a54be79c748ee822978
    Reviewed-on: http://gerrit.cloudera.org:8080/19330
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 .../functional-query/queries/QueryTest/compute-stats-avro.test        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/testdata/workloads/functional-query/queries/QueryTest/compute-stats-avro.test 
b/testdata/workloads/functional-query/queries/QueryTest/compute-stats-avro.test
index 387fd9bed..f6f453205 100644
--- 
a/testdata/workloads/functional-query/queries/QueryTest/compute-stats-avro.test
+++ 
b/testdata/workloads/functional-query/queries/QueryTest/compute-stats-avro.test
@@ -57,7 +57,7 @@ STRING, STRING, BIGINT, BIGINT, BIGINT, DOUBLE, BIGINT, BIGINT
 create external table avro_hive_alltypes_ext
 like functional_avro_snap.alltypes;
 alter table avro_hive_alltypes_ext
-set location '/test-warehouse/alltypes_avro_snap';
+set location '$FILESYSTEM_PREFIX/test-warehouse/alltypes_avro_snap';
 alter table avro_hive_alltypes_ext recover partitions;
 compute stats avro_hive_alltypes_ext;
 ---- RESULTS
@@ -141,7 +141,7 @@ create external table avro_hive_alltypes_str_part (
   month string
 )
 stored as avro
-location '/test-warehouse/alltypes_avro_snap';
+location '$FILESYSTEM_PREFIX/test-warehouse/alltypes_avro_snap';
 alter table avro_hive_alltypes_str_part recover partitions;
 compute stats avro_hive_alltypes_str_part;
 ---- RESULTS

Reply via email to