Stefán Baxter created DRILL-3508:
------------------------------------

             Summary: Selecting from an empty directory in a union failes
                 Key: DRILL-3508
                 URL: https://issues.apache.org/jira/browse/DRILL-3508
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
    Affects Versions: 1.1.0
            Reporter: Stefán Baxter
            Assignee: Jinfeng Ni


I union select where the right hand side points to an empty directory files 
with the following error code:

Error: PARSE ERROR: Index: 0, Size: 0
[Error Id: fed7527a-9d7a-4980-80f5-ff3f0b92d49b on localhost:31010] 
(state=,code=0)

We use this to merge tenant based information and sometimes there are no files 
on the right hand side of the union. It would be ideal that that scenario would 
return an empty list rather than an error.



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

Reply via email to