drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mehant Baid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1312) dir1='X' for delimited files causes query failures
Date Fri, 22 Aug 2014 01:01:47 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mehant Baid updated DRILL-1312:
-------------------------------

    Attachment: DRILL-1312.patch

> dir1='X' for delimited files causes query failures
> --------------------------------------------------
>
>                 Key: DRILL-1312
>                 URL: https://issues.apache.org/jira/browse/DRILL-1312
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>    Affects Versions: 0.4.0
>            Reporter: Jim Scott
>            Assignee: Mehant Baid
>         Attachments: DRILL-1312.patch
>
>
> ​I have a nested directory with delimited files in them
> 1970/01
> 1970/02
> ...
> When I query:
> select columns[0] from mypath limit 10; -> SUCCEEDS
> select columns[0] from mypath where dir0='1970' limit 10; -> SUCCEEDS
> select columns[0] from mypath where dir1='01' limit 10; -> FAILS
> ​
> ​Query failed: Failure while running fragment. Schema is currently null.  You must
call buildSchema(SelectionVectorMode) before this container can return a schema. [af55e6fc-38e4-46ae-bd46-fa68b15ba42a]
> Error: exception while executing query: Failure while trying to get next result batch.
(state=,code=0)
> ​select columns[2] from mypath where dir0='1970' and dir1='01' limit 10; -> FAILS
> Query failed: Failure while running fragment. null [118098fe-1f19-4570-bdda-cc8426870807]
> Error: exception while executing query: Failure while trying to get next result batch.
(state=,code=0)
> ​



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message