nk1506 commented on code in PR #9852:
URL: https://github.com/apache/iceberg/pull/9852#discussion_r1539222675


##########
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java:
##########
@@ -191,6 +191,10 @@ protected void doCommit(TableMetadata base, TableMetadata 
metadata) {
         if (newTable
             && 
tbl.getParameters().get(BaseMetastoreTableOperations.METADATA_LOCATION_PROP)
                 != null) {
+          if 
(tbl.getTableType().equalsIgnoreCase(TableType.VIRTUAL_VIEW.name())) {

Review Comment:
   During 
[commitTransaction](https://github.com/apache/iceberg/blob/main/api/src/main/java/org/apache/iceberg/Transaction.java#L185)
   there should be a way to validate if there is another content type and throw 
the same error. 



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to