deniskuzZ commented on code in PR #4392:
URL: https://github.com/apache/hive/pull/4392#discussion_r1234867175
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -347,6 +347,18 @@ public StorageFormatDescriptor
getStorageFormatDescriptor(org.apache.hadoop.hive
return null;
}
+ public boolean supportsAppendData(org.apache.hadoop.hive.metastore.api.Table
table) throws SemanticException {
+ Table icebergTbl = IcebergTableUtil.getTable(conf, table);
+ return icebergTbl.spec().isUnpartitioned();
+ }
+
+ public void appendFiles(org.apache.hadoop.hive.metastore.api.Table table,
URI fromURI, boolean isOverwrite)
+ throws SemanticException {
+ Table icebergTbl = IcebergTableUtil.getTable(conf, table);
+ String format = table.getParameters().get("write.format.default");
Review Comment:
could we please move `write.format.default` to constants?
--
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]