[
https://issues.apache.org/jira/browse/HIVE-26102?focusedWorklogId=753278&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-753278
]
ASF GitHub Bot logged work on HIVE-26102:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Apr/22 09:29
Start Date: 06/Apr/22 09:29
Worklog Time Spent: 10m
Work Description: marton-bod commented on code in PR #3131:
URL: https://github.com/apache/hive/pull/3131#discussion_r843715671
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergOutputCommitter.java:
##########
@@ -156,11 +163,19 @@ public void abortTask(TaskAttemptContext originalContext)
throws IOException {
TaskAttemptContext context =
TezUtil.enrichContextWithAttemptWrapper(originalContext);
// Clean up writer data from the local store
- Map<String, HiveIcebergRecordWriter> writers =
HiveIcebergRecordWriter.removeWriters(context.getTaskAttemptID());
+ Map<String, HiveIcebergWriter> writers =
HiveIcebergWriter.getRecordWriters(context.getTaskAttemptID());
Review Comment:
As discussed, let's use a single writer map for both DeleteWriters and
RecordWriters
Issue Time Tracking
-------------------
Worklog Id: (was: 753278)
Time Spent: 6.5h (was: 6h 20m)
> Implement DELETE statements for Iceberg tables
> ----------------------------------------------
>
> Key: HIVE-26102
> URL: https://issues.apache.org/jira/browse/HIVE-26102
> Project: Hive
> Issue Type: New Feature
> Reporter: Marton Bod
> Assignee: Marton Bod
> Priority: Major
> Labels: pull-request-available
> Time Spent: 6.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)