mirror of
https://github.com/apache/impala.git
synced 2026-02-02 06:00:36 -05:00
Reverts support for o3fs as a default filesystem added in IMPALA-9442. Updates test setup to use ofs instead. Munges absolute paths in Iceberg metadata to match the new location required for ofs. Ozone has strict requirements on volume and bucket names, so all tables must be created within a bucket (e.g. inside /impala/test-warehouse/). Change-Id: I45e90d30b2e68876dec0db3c43ac15ee510b17bd Reviewed-on: http://gerrit.cloudera.org:8080/19001 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
====
|
|
---- QUERY
|
|
CREATE EXTERNAL TABLE IF NOT EXISTS iceberg_partitioned_orc_external_old_fileformat
|
|
STORED AS ICEBERG
|
|
TBLPROPERTIES(
|
|
'iceberg.file_format'='orc',
|
|
'iceberg.catalog'='hadoop.catalog',
|
|
'iceberg.catalog_location'='$WAREHOUSE_LOCATION_PREFIX/test-warehouse/iceberg_test/hadoop_catalog/iceberg_partitioned_orc',
|
|
'iceberg.table_identifier'='functional_parquet.iceberg_partitioned_orc'
|
|
);
|
|
ALTER TABLE iceberg_partitioned_orc_external_old_fileformat
|
|
UNSET TBLPROPERTIES IF EXISTS ('write.format.default');
|
|
DESCRIBE FORMATTED iceberg_partitioned_orc_external_old_fileformat;
|
|
---- RESULTS: VERIFY_IS_SUBSET
|
|
'Location: ','$NAMENODE/test-warehouse/iceberg_test/hadoop_catalog/iceberg_partitioned_orc/functional_parquet/iceberg_partitioned_orc','NULL'
|
|
'','iceberg.catalog_location','$WAREHOUSE_LOCATION_PREFIX/test-warehouse/iceberg_test/hadoop_catalog/iceberg_partitioned_orc'
|
|
'','iceberg.table_identifier','functional_parquet.iceberg_partitioned_orc'
|
|
'','iceberg.file_format','orc '
|
|
'','iceberg.catalog ','hadoop.catalog '
|
|
---- RESULTS: VERIFY_IS_NOT_IN
|
|
'','write.format.default','orc '
|
|
---- TYPES
|
|
string, string, string
|
|
====
|
|
---- QUERY
|
|
SELECT * FROM iceberg_partitioned_orc_external_old_fileformat;
|
|
---- RESULTS
|
|
7,'Lisa','download'
|
|
16,'Lisa','download'
|
|
13,'Alan','click'
|
|
10,'Alan','click'
|
|
19,'Alex','view'
|
|
1,'Alex','view'
|
|
4,'Alex','view'
|
|
20,'Alex','view'
|
|
14,'Lisa','download'
|
|
5,'Lisa','download'
|
|
15,'Alex','view'
|
|
18,'Alan','click'
|
|
9,'Alan','click'
|
|
17,'Alex','view'
|
|
12,'Alan','click'
|
|
2,'Lisa','download'
|
|
8,'Lisa','download'
|
|
11,'Alex','view'
|
|
6,'Alex','view'
|
|
3,'Alan','click'
|
|
---- TYPES
|
|
INT, STRING, STRING
|
|
====
|
|
---- QUERY
|
|
SELECT count(*) FROM iceberg_partitioned_orc_external_old_fileformat;
|
|
---- RESULTS
|
|
20
|
|
---- TYPES
|
|
BIGINT
|
|
====
|