[
https://issues.apache.org/jira/browse/HIVE-15970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872898#comment-15872898
]
Eugene Koifman commented on HIVE-15970:
---------------------------------------
no, we don't. Context.operation explicitly tells us if it's Merge. or update
or delete
> Fix merge to work in presence of AST rewrites
> ---------------------------------------------
>
> Key: HIVE-15970
> URL: https://issues.apache.org/jira/browse/HIVE-15970
> Project: Hive
> Issue Type: Sub-task
> Components: Transactions
> Affects Versions: 2.2.0
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
> Priority: Critical
> Attachments: HIVE-15970.01.patch, HIVE-15970.02.patch
>
>
> The issue is that Context.getDestNamePrefix() caches ASTNode objects to
> figure out if a given insert branch of multi-insert is insert, update or
> delete but objects change when the tree is modified. For example,
> row-filtering/column-masking does this, but also other optimizations/features.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)