[
https://issues.apache.org/jira/browse/HIVE-26102?focusedWorklogId=753982&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-753982
]
ASF GitHub Bot logged work on HIVE-26102:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Apr/22 11:19
Start Date: 07/Apr/22 11:19
Worklog Time Spent: 10m
Work Description: marton-bod commented on code in PR #3131:
URL: https://github.com/apache/hive/pull/3131#discussion_r845016196
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergSerDe.java:
##########
@@ -224,7 +232,7 @@ public Writable serialize(Object o, ObjectInspector
objectInspector) {
Deserializer deserializer = deserializers.get(objectInspector);
if (deserializer == null) {
deserializer = new Deserializer.Builder()
- .schema(tableSchema)
+ .schema(isDelete ? deleteSchema : tableSchema)
Review Comment:
`projectedSchema` is only local variable inside `initialize()` and not
available here
Issue Time Tracking
-------------------
Worklog Id: (was: 753982)
Time Spent: 11h 10m (was: 11h)
> 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: 11h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)