Leon-WTF opened a new pull request, #2599:
URL: https://github.com/apache/drill/pull/2599

   # [DRILL-4232](https://issues.apache.org/jira/browse/DRILL-4232): Support 
for EXCEPT and INTERSECT set operator
   
   ## Description
   Can have hash set operator and sorted set operator, only implement hash 
version in this PR.
   Compute number of left-input duplicates(numLeft) and number of left-input 
duplicates(numRight) for each same tuple:
   INTERSECT: if numRight > 0 and numLeft > 0, output one tuple
   INTERSECT ALL: if numRight > 0 and numLeft > 0, output min(numLeft,numRight) 
tuples
   EXCEPT: if numRight = 0 and numLeft > 0, output one tuple
   EXCEPT ALL: if numRight = 0 and numLeft > 0, output numLeft - numRight tuples
   
   ## Documentation
   TODO
   
   ## Testing
   TODO


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to