drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1623) COUNT (*) query with a filter does not work over partitioned data in text and json formats
Date Fri, 31 Oct 2014 21:06:33 GMT

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

Hanifi Gunes commented on DRILL-1623:
-------------------------------------

Please re-open if DRILL-1417 does not apply for the problem reported above.

> COUNT (*) query with a filter does not work over partitioned data in text and json formats
> ------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1623
>                 URL: https://issues.apache.org/jira/browse/DRILL-1623
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Rahul Challapalli
>         Attachments: json.error, json.plan, lineitem_text.zip, orders_json.zip, text.error,
text.plan
>
>
> git.commit.id.abbrev=6dca24a
> The below 2 queries fail. The underlying data is partitioned and is one level deep. 
> Text Query :
> {code}
> select count(*) from lineitem_text where dir0=1993;
> Query failed: Failure while running fragment. Readers needs at least a column to read.
[499ab624-616a-409a-a93c-c1dc9a0d31b1]
> Error: exception while executing query: Failure while trying to get next result batch.
(state=,code=0)
> {code}
> Json Query :
> {code}
> select count(*) from orders_json where dir0=1993
> Query failed: Failure while running fragment. json record reader requires at least a
column [dc7cfa54-6d6f-4bf3-a0f2-38da9e58ace9]
> Error: exception while executing query: Failure while trying to get next result batch.
(state=,code=0)
> {code}
> When I tested this against parquet and hive they seem to be having no issues. 
> Attached the data, logs and plans for the above 2 queries



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

Mime
View raw message