
CREATE TABLE IF NOT EXISTS `DataLakeCatalog`.`axitest`.`append_case` (`id` int, `name` string, `pt` string)PARTITIONED BY (`pt`)TBLPROPERTIES ('format-version' = '1','write.upsert.enabled' = 'false','write.distribution-mode' = 'hash','write.metadata.delete-after-commit.enabled' = 'true','write.metadata.previous-versions-max' = '100','write.metadata.metrics.default' = 'full','smart-optimizer.inherit' = 'default');
// Partitioned tableCREATE TABLE IF NOT EXISTS `DataLakeCatalog`.`axitest`.`upsert_case` (`id` int, `name` string, `pt` string)PARTITIONED BY (bucket(4, `id`))TBLPROPERTIES ('format-version' = '2','write.upsert.enabled' = 'true','write.update.mode' = 'merge-on-read','write.merge.mode' = 'merge-on-read','write.parquet.bloom-filter-enabled.column.id' = 'true','dlc.ao.data.govern.sorted.keys' = 'id','write.distribution-mode' = 'hash','write.metadata.delete-after-commit.enabled' = 'true','write.metadata.previous-versions-max' = '100','write.metadata.metrics.default' = 'full','smart-optimizer.inherit' = 'default');
// Non-partitioned tableCREATE TABLE IF NOT EXISTS `DataLakeCatalog`.`axitest`.`upsert_case` (`id` int, `name` string, `pt` string)TBLPROPERTIES ('format-version' = '2','write.upsert.enabled' = 'true','write.update.mode' = 'merge-on-read','write.merge.mode' = 'merge-on-read','write.parquet.bloom-filter-enabled.column.id' = 'true','dlc.ao.data.govern.sorted.keys' = 'id','write.distribution-mode' = 'hash','write.metadata.delete-after-commit.enabled' = 'true','write.metadata.previous-versions-max' = '100','write.metadata.metrics.default' = 'full','smart-optimizer.inherit' = 'default');
// Modify conflict retry attempts to 10ALTER TABLE `DataLakeCatalog`.`axitest`.`upsert_case` SET TBLPROPERTIES('commit.retry.num-retries' = '10');
// Cancel bloom filter setting for the name fieldALTER TABLE `DataLakeCatalog`.`axitest`.`upsert_case` UNSET TBLPROPERTIES('write.parquet.bloom-filter-enabled.column.id');
// Enable write optimization for the my_database table and do not inherit the data management policy.ALTER DATABASE DataLakeCatalog.my_database SET DBPROPERTIES ('smart-optimizer.inherit'='none', 'smart-optimizer.written.enable'='enable');
// Set my_database to inherit the data management policy.ALTER DATABASE DataLakeCatalog.my_database SET DBPROPERTIES ('smart-optimizer.inherit'='default');
// Disable lifecycle for the my_database table and do not inherit the data management policy.ALTER DATABASE DataLakeCatalog.my_database SET DBPROPERTIES ('smart-optimizer.inherit'='none', 'smart-optimizer.lifecycle.enable'='disable');
// Disable write optimization for the upsert_cast table and do not inherit the database policy.ALTER TABLE `DataLakeCatalog`.`axitest`.`upsert_case` SET TBLPROPERTIES('smart-optimizer.inherit'='none', 'smart-optimizer.written.enable'='disable');
// Set the upsert_cast table to inherit the database policy.ALTER TABLE `DataLakeCatalog`.`axitest`.`upsert_case` SET TBLPROPERTIES('smart-optimizer.inherit'='default');
// Enable lifecycle for the upsert_cast table, set the lifecycle duration to 7 days, and do not inherit the database policy.ALTER TABLE `DataLakeCatalog`.`axitest`.`upsert_case` SET TBLPROPERTIES('smart-optimizer.inherit'='none', 'smart-optimizer.lifecycle.enable'='enable', 'smart-optimizer.lifecycle.expiration'='7');


Feedback