Github user vdiravka commented on a diff in the pull request: https://github.com/apache/drill/pull/1083#discussion_r160663899 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestUnionAll.java --- @@ -1197,4 +1197,64 @@ public void testFieldWithDots() throws Exception { .baselineValues("1", "2", "1", null, "a") .go(); } -} \ No newline at end of file + + @Test + public void testUnionAllRightEmptyDir() throws Exception { --- End diff -- 1. Union works fine too. I have added similar tests to TestUnionDistinct.java class. Thanks 2. Test case is added. The result is the same as for querying single empty dir.
---