drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1183) TPCH query 14 on top of text files is resulting in a batch read error
Date Wed, 30 Jul 2014 23:53:39 GMT

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

Timothy Chen commented on DRILL-1183:
-------------------------------------

I tried running the tpch14 from TestDistributedQuery and seems to pass, is this still a issue?

> TPCH query 14 on top of text files is resulting in a batch read error
> ---------------------------------------------------------------------
>
>                 Key: DRILL-1183
>                 URL: https://issues.apache.org/jira/browse/DRILL-1183
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow, Storage - Text & CSV
>            Reporter: Rahul Challapalli
>            Assignee: Timothy Chen
>             Fix For: 0.4.0
>
>         Attachments: error.log, views.txt
>
>
> git.commit.id.abbrev=e5c2da0
> The below query is resulting in an error
> select
>   100.00 * sum(case
>     when p.p_type like 'PROMO%'
>       then l.l_extendedprice * (1 - l.l_discount)
>     else l.l_discount
>   end) / sum(l.l_extendedprice * (1 - l.l_discount)) as promo_revenue
> from
>   lineitem l,
>   part p
> where
>   l.l_partkey = p.p_partkey
>   and l.l_shipdate >= date '1994-08-01'
>   and l.l_shipdate < date '1994-08-01' + interval '1' month
> message: "Failure while running fragment. < IllegalStateException:[ You tried to do
a batch data read operation when you were in a state of STOP.  You can only do this type of
operation when you are in a state of OK or OK_NEW_SCHEMA. 
> However the query runs when we get rid of the last 2 filter conditions, the query runs.
I attached the views used on top of text files along with the error log



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

Mime
View raw message