drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1158) mondrian2056.q - cause CannotPlanException
Date Fri, 18 Jul 2014 23:46:39 GMT

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

Aman Sinha commented on DRILL-1158:

This query has an IN clause with >= 20 elements which requires a ValuesOperator which is
not implemented yet...and there's a bug DRILL-391 open for that.  I think this bug should
be marked a duplicate of that and add the use cases there...  

> mondrian2056.q - cause CannotPlanException
> ------------------------------------------
>                 Key: DRILL-1158
>                 URL: https://issues.apache.org/jira/browse/DRILL-1158
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>            Reporter: Chun Chang
> #Mon Jul 14 10:10:52 PDT 2014
> git.commit.id.abbrev=699851b
> The following mondrian query (query2056.q) caused cannot plan exception:
> [root@qa-node120 testcases]# cat query2056.q
> select time_by_day.the_year as c0, customer.state_province as c1, customer.city as c2,
sum(sales_fact_1997.unit_sales) as m0 from time_by_day as time_by_day, sales_fact_1997 as
sales_fact_1997, customer as customer where sales_fact_1997.time_id = time_by_day.time_id
and time_by_day.the_year = 1997 and sales_fact_1997.customer_id = customer.customer_id and
customer.state_province in ('CA', 'OR', 'WA') and customer.city in ('Albany', 'Anacortes',
'Ballard', 'Beaverton', 'Bellingham', 'Corvallis', 'Lake Oswego', 'Lebanon', 'Milwaukie',
'Oregon City', 'Portland', 'Salem', 'San Francisco', 'San Gabriel', 'San Jose', 'Santa Cruz',
'Santa Monica', 'Spring Valley', 'Torrance', 'W. Linn', 'West Covina', 'Woodburn', 'Woodland
Hills') group by time_by_day.the_year, customer.state_province, customer.city;

This message was sent by Atlassian JIRA

View raw message