[ 
https://issues.apache.org/jira/browse/HIVE-25208?focusedWorklogId=609542&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-609542
 ]

ASF GitHub Bot logged work on HIVE-25208:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Jun/21 07:58
            Start Date: 10/Jun/21 07:58
    Worklog Time Spent: 10m 
      Work Description: marton-bod commented on a change in pull request #2359:
URL: https://github.com/apache/hive/pull/2359#discussion_r648943168



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -7316,7 +7316,7 @@ protected Operator genFileSinkPlan(String dest, QB qb, 
Operator input)
       destTableId++;
       // Create the work for moving the table
       // NOTE: specify Dynamic partitions in dest_tab for WriteEntity
-      if (!isNonNativeTable) {
+      if (!isNonNativeTable || 
destinationTable.getStorageHandler().useNativeCommit()) {

Review comment:
       Can you give some context why this is needed? Thanks!




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 609542)
    Time Spent: 1.5h  (was: 1h 20m)

> Refactor Iceberg commit to the MoveTask/MoveWork
> ------------------------------------------------
>
>                 Key: HIVE-25208
>                 URL: https://issues.apache.org/jira/browse/HIVE-25208
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Instead of committing Iceberg changes in `DefaultMetaHook.preCommitInsert` we 
> should commit in MoveWork so we are using the same flow as normal tables.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to