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

Eugene Koifman edited comment on HIVE-14943 at 11/5/16 4:08 AM:
----------------------------------------------------------------

The AND <boolean expr> in WHEN is unrestricted

The implementation ensures that every row can only go down one branch by 
appending AND NOT X to the 2nd WHEN MATCHED clause  where X is the AND X of 
previous WHEN MATCHED.  That is why it's required.

VALUES is required by the standard.  

I don't plan to add .q tests except perhaps to test Tez when things are nearing 
completion. 

Other replies on RB


was (Author: ekoifman):
The AND <boolean expr> in WHEN is unrestricted

The implementation ensures that every row can only go down one branch by 
appending AND NOT X to the 2nd WHEN MATCHED clause  where X is the AND X of 
previous WHEN MATCHED.  That is why it's required.

VALUES is required by the standard.  

I don't plan to add .q tests except perhaps to test Tez when things are nearing 
completion. 

> Base Implementation
> -------------------
>
>                 Key: HIVE-14943
>                 URL: https://issues.apache.org/jira/browse/HIVE-14943
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-14943.2.patch, HIVE-14943.3.patch, 
> HIVE-14943.4.patch, HIVE-14943.5.patch, HIVE-14943.6.patch, 
> HIVE-14943.7.patch, HIVE-14943.8.patch, HIVE-14943.9.patch, HIVE-14943.patch
>
>
> Create the 1st pass functional implementation of MERGE
> This should run e2e and produce correct results.  



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

Reply via email to