kasakrisz commented on code in PR #3802:
URL: https://github.com/apache/hive/pull/3802#discussion_r1035948736
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -462,7 +461,11 @@ public boolean commitInMoveTask() {
@Override
public void storageHandlerCommit(Properties commitProperties, boolean
overwrite) throws HiveException {
String tableName = commitProperties.getProperty(Catalogs.NAME);
+ String location = commitProperties.getProperty(Catalogs.LOCATION);
Configuration configuration = SessionState.getSessionConf();
+ if (location != null) {
+ HiveTableUtil.cleanupTableObjectFile(location, configuration);
Review Comment:
Created a follow-up jira to handle this case:
https://issues.apache.org/jira/browse/HIVE-26795
--
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]