Behavior changes
This release of the Cloudera Data Warehouse (CDW) service on CDP Public Cloud has the following behavior changes:
- Summary:
- Change in value for the
write.delete.mode
property - Before this release:
- The value for the
write.delete.mode
property was set to 'merge-on-read'. - After this release:
- The default value for the
write.delete.mode
property is changed to 'copy-on-write'.This change might result in issues while deleting Iceberg table records.
If you want to continue to use the 'merge-on-read' mode for new Iceberg tables, perform the following steps:
- Log in to the CDP web interface and navigate to the Data Warehouse service.
- From the Data Warehouse service, click Database Catalogs, locate your Database Catalog and then click .
- In the Database Catalogs detail page, click and select the hive-site configuration file.
- Click and add the following configuration key and key
value:
write.delete.mode=merge-on-read
- Click Apply Changes.
- Click Virtual Warehouses, locate your virtual warehouse and then click .
- In the Virtual Warehouse Details page, click and select the hive-site configuration file.
- Click and add the following configuration key and key
value:
write.delete.mode=merge-on-read
- Click Apply Changes.
If you want to set 'merge-on-read' for older Iceberg tables that were created before upgrading to this CDW version, perform the following steps:
- Run the following queries to modify the table properties of the old Iceberg
tables:
ALTER TABLE [***OLD TABLE NAME***] SET TBLPROPERTIES('write.on.delete'='dummy'); ALTER TABLE [***OLD TABLE NAME***] SET TBLPROPERTIES('write.on.delete'='merge-on-read');