You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2022/12/09 17:57:08 UTC
[impala] 01/03: IMPALA-11751: (Addendum) fix test for Ozone
This is an automated email from the ASF dual-hosted git repository.
michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit f8819ac7cc70ec261174f9466a17910e3cd5e133
Author: Michael Smith <mi...@cloudera.com>
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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
.../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