AlvaroNavarroMora opened a new issue, #6105:
URL: https://github.com/apache/iceberg/issues/6105
### Apache Iceberg version
0.13.1
### Query engine
Spark
### Please describe the bug 🐞
We are trying to add the following properties to existing iceberg tables
using spark 3.1.2:
```
'write.metadata.delete-after-commit.enabled'='true'
'write.metadata.previous-versions-max'='10'
```
In order to do so we are using the next queries:
```
ALTER TABLE <tableName> SET TBLPROPERTIES
('write.metadata.delete-after-commit.enabled'='true')
ALTER TABLE <tableName> SET TBLPROPERTIES
('write.metadata.previous-versions-max'='10')
```
The queries are being executed without any errors, but after reviewing the
tables the properties we observe that the properties have not changed.
We can't add the properties when creating the table because we are using
liquibase with the athena connector, which does not support Iceberg specific
properties. This is why we need to add the properties afterwards.
Is it possible to add these properties to existing tables using spark in any
other way? if that is the case, how should we do it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]