[jira] [Updated] (HIVE-15970) Fix merge to work in presents of AST rewrites

2017-02-17 Thread Eugene Koifman (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-15970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Koifman updated HIVE-15970:
--
Attachment: HIVE-15970.01.patch

> Fix merge to work in presents 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
>
>
> 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)


[jira] [Updated] (HIVE-15970) Fix merge to work in presents of AST rewrites

2017-02-17 Thread Eugene Koifman (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-15970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Koifman updated HIVE-15970:
--
Status: Patch Available  (was: Open)

> Fix merge to work in presents 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
>
>
> 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)


[jira] [Updated] (HIVE-15970) Fix merge to work in presents of AST rewrites

2017-02-17 Thread Eugene Koifman (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-15970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Koifman updated HIVE-15970:
--
Issue Type: Sub-task  (was: Bug)
Parent: HIVE-10924

> Fix merge to work in presents 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
>
>
> 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)