You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/07/19 00:48:09 UTC

[jira] [Created] (DRILL-1158) mondrian2056.q - cause CannotPlanException

Chun Chang created DRILL-1158:
---------------------------------

             Summary: 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
(v6.2#6252)