Neer393 opened a new issue, #13488:
URL: https://github.com/apache/iceberg/issues/13488

   ### Feature Request / Improvement
   
   Currently, there is no way to make an iceberg table readonly
   
   # Current scenario
   Hive engine supports a table property called 'immutable' which when set to 
true, disables writes on the tables irrespective of being a Hive Table or 
Iceberg Table. The issue is only Hive engine respects this table property but 
other engines like Impala, Spark, etc still allow writes and hence we cannot 
achieve a truly 'immutable' table.
   
   # Possible implementation
   Iceberg can support another table property called 'write.enabled' which will 
default to true and allow writes on the Iceberg Table. When this property is 
set to false, I want iceberg to freeze the metadata so that even if any engine 
that does not respect this property tries writing on to the table, it 
eventually fails due to frozen metadata.
   
   Please feel free to add any suggestions to this idea
   CC:- @rdblue 
   
   ### Query engine
   
   None
   
   ### Willingness to contribute
   
   - [ ] I can contribute this improvement/feature independently
   - [ ] I would be willing to contribute this improvement/feature with 
guidance from the Iceberg community
   - [x] I cannot contribute this improvement/feature at this time


-- 
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]

Reply via email to