drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Hsuan-Yi Chu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3508) Selecting from an empty directory in a union fails
Date Tue, 21 Jul 2015 17:34:04 GMT

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

Sean Hsuan-Yi Chu commented on DRILL-3508:
------------------------------------------

It is not specific to Union. 

This issue can be reproduced simply by queries such as:

{code}
0: jdbc:drill:zk=local> select * from dfs.test.`empty`;
Error: PARSE ERROR: Index: 0, Size: 0
{code}

> Selecting from an empty directory in a union fails
> --------------------------------------------------
>
>                 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: Sean Hsuan-Yi Chu
>             Fix For: 1.2.0
>
>
> 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)

Mime
View raw message