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

ASF GitHub Bot commented on DRILL-4476:
---------------------------------------

Github user amansinha100 commented on a diff in the pull request:

    https://github.com/apache/drill/pull/407#discussion_r55561579
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestUnionAll.java 
---
    @@ -527,6 +532,52 @@ public void testUnionAllRightEmptyJson() throws 
Exception {
           .build().run();
       }
     
    +  @Test
    +  public void testUnionAllLeftEmptyJson() throws Exception {
    --- End diff --
    
    Are there any union-all tests with  WHERE 1 = 0 filters on the left and/or 
right inputs ?  If not, could you add such tests ?  We should distinguish 
between a truly empty input vs. one that occurs as a result of a False filter. 


> Enhance Union-All operator for dealing with empty left input or empty both 
> inputs
> ---------------------------------------------------------------------------------
>
>                 Key: DRILL-4476
>                 URL: https://issues.apache.org/jira/browse/DRILL-4476
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Relational Operators
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Sean Hsuan-Yi Chu
>
> Union-All operator does not deal with the situation where left side comes 
> from empty source.
> Due to DRILL-2288's enhancement for empty sources, Union-All operator now can 
> be allowed to support this scenario.



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

Reply via email to