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

2017-02-18 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:
--
   Resolution: Fixed
Fix Version/s: 2.2.0
   Status: Resolved  (was: Patch Available)

committed to master
thanks Wei for the review

> 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
> Fix For: 2.2.0
>
> 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)


[jira] [Updated] (HIVE-15970) Fix merge to work in presence 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.02.patch

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


[jira] [Updated] (HIVE-15970) Fix merge to work in presence 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:
--
Summary: Fix merge to work in presence of AST rewrites  (was: Fix merge to 
work in presents of AST rewrites)

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