rdblue commented on code in PR #9830:
URL: https://github.com/apache/iceberg/pull/9830#discussion_r1520310556


##########
core/src/main/java/org/apache/iceberg/view/ViewVersionReplace.java:
##########
@@ -56,6 +57,14 @@ public ViewVersion apply() {
   }
 
   ViewMetadata internalApply() {
+    // Replacing a materialized view is not supported because the old storage 
location will wrongly
+    // transfer to the new version
+    // if not handled properly.

Review Comment:
   I think we will want to allow this by adding the view version ID to metadata 
in the table. If you load the view, then load the table and the version doesn't 
match between them then the table cannot be used.



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