You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Wei Zheng (JIRA)" <ji...@apache.org> on 2017/02/13 18:52:41 UTC

[jira] [Assigned] (HIVE-15891) Detect query rewrite scenario for UPDATE/DELETE/MERGE and fail fast

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

Wei Zheng reassigned HIVE-15891:
--------------------------------


> Detect query rewrite scenario for UPDATE/DELETE/MERGE and fail fast
> -------------------------------------------------------------------
>
>                 Key: HIVE-15891
>                 URL: https://issues.apache.org/jira/browse/HIVE-15891
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 2.2.0
>            Reporter: Wei Zheng
>            Assignee: Wei Zheng
>
> Currently ACID UpdateDeleteSemanticAnalyzer directly manipulates the AST tree but it's different from the general approach of modifying the token stream and thus will cause AST tree mismatch if there is any rewrite happening after UpdateDeleteSemanticAnalyzer.
> The long term solution will be to rewrite the AST handling logic in UpdateDeleteSemanticAnalyzer, to make it consistent with the general approach.
> This ticket will for now detect the error prone cases and fail early. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)