-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Enhancement] remove some default iceberg metrics
Signed-off-by: stephen <stephen5217@163.com>
- Loading branch information
1 parent
a293bb8
commit 8dcb8d2
Showing
3 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
-- name: test_iceberg_none_write_mode | ||
create external catalog ice_cat_${uuid0} | ||
properties | ||
( | ||
"type" = "iceberg", | ||
"iceberg.catalog.type" = "hive", | ||
"hive.metastore.uris" = "${iceberg_catalog_hive_metastore_uris}" | ||
); | ||
-- result: | ||
[] | ||
-- !result | ||
create database ice_cat_${uuid0}.ice_db_${uuid0}; | ||
-- result: | ||
[] | ||
-- !result | ||
create table ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0} (k1 int) properties("write.metadata.metrics.default"="none"); | ||
-- result: | ||
[] | ||
-- !result | ||
insert into ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0} select 1; | ||
-- result: | ||
[] | ||
-- !result | ||
select * from ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0}; | ||
-- result: | ||
1 | ||
-- !result | ||
drop table ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0} force; | ||
-- result: | ||
[] | ||
-- !result | ||
drop database ice_cat_${uuid0}.ice_db_${uuid0}; | ||
-- result: | ||
[] | ||
-- !result | ||
drop catalog ice_cat_${uuid0}; | ||
-- result: | ||
[] | ||
-- !result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- name: test_iceberg_none_write_mode | ||
create external catalog ice_cat_${uuid0} | ||
properties | ||
( | ||
"type" = "iceberg", | ||
"iceberg.catalog.type" = "hive", | ||
"hive.metastore.uris" = "${iceberg_catalog_hive_metastore_uris}" | ||
); | ||
|
||
create database ice_cat_${uuid0}.ice_db_${uuid0}; | ||
|
||
create table ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0} (k1 int) properties("write.metadata.metrics.default"="none"); | ||
|
||
insert into ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0} select 1; | ||
select * from ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0}; | ||
drop table ice_cat_${uuid0}.ice_db_${uuid0}.ice_tbl_${uuid0} force; | ||
drop database ice_cat_${uuid0}.ice_db_${uuid0}; | ||
drop catalog ice_cat_${uuid0}; |