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

Ruslan Dautkhanov commented on HIVE-10780:
------------------------------------------

Should this ticket cover MINUS, EXCEPT set operations as well?
Did not find a JIRAs for MINUS/EXCEPT.
Might be helpful for reference 
http://download.oracle.com/otndocs/products/rdb/pdf/tech_archive/except_intersect_minus_ops.pdf
 

> Support INTERSECTION set operation 
> -----------------------------------
>
>                 Key: HIVE-10780
>                 URL: https://issues.apache.org/jira/browse/HIVE-10780
>             Project: Hive
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: sanjiv singh
>
> Support a INTERSECTION operation  as <qb1> INTERSECTION <qb2> .
> Common requirement of queries to project two sets where you want result set 
> which contains only those rows returned by both queries.
> The following sample statement combines the results with the INTERSECT 
> operator, which returns only those rows returned by both queries:
> SELECT * FROM tableA
> INTERSECT
> SELECT * FROM tableB;
> current exception:
> FAILED: ParseException line *:** missing EOF at 'SELECT' near 'INTERSECT'



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

Reply via email to