[ 
https://issues.apache.org/jira/browse/HIVE-14726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15477432#comment-15477432
 ] 

Ashutosh Chauhan commented on HIVE-14726:
-----------------------------------------

Reason where this optimization is useful when there are large number of 
partitions being written. That time there are many orc writers which are 
buffering data. Update and delete statement gets rewritten as insert statement 
but they won't have this issue of many dynamic partitions being written into at 
same time. So, I am not sure why there is a handling of Update/Delete at place 
you pointed out, we should simply skip this optimization step in those cases. I 
will take another look and update the patch accordingly.

> delete statement fails when spdo is on
> --------------------------------------
>
>                 Key: HIVE-14726
>                 URL: https://issues.apache.org/jira/browse/HIVE-14726
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 2.1.0
>            Reporter: Deepesh Khandelwal
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-14726.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to