ayushtkn commented on code in PR #4673:
URL: https://github.com/apache/hive/pull/4673#discussion_r1321859005


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -1537,6 +1544,15 @@ public boolean 
shouldOverwrite(org.apache.hadoop.hive.ql.metadata.Table mTable,
     return COPY_ON_WRITE.equalsIgnoreCase(mode);
   }
 
+  @Override
+  public void addResourcesForCreateTable(Map<String, String> tblProps, 
HiveConf hiveConf) {
+    String metadataLocation = 
tblProps.get(BaseMetastoreTableOperations.METADATA_LOCATION_PROP);
+    if (StringUtils.isNotEmpty(metadataLocation)) {

Review Comment:
   may be I can change it to just ``null`` check, if it is empty iceberg 
should, if it doesn't resolve to anything



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