Chun Chang created DRILL-1153:
---------------------------------

             Summary: mondrian106.q: querySchemaChangeException 
                 Key: DRILL-1153
                 URL: https://issues.apache.org/jira/browse/DRILL-1153
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
            Reporter: Chun Chang


#Mon Jul 14 10:10:52 PDT 2014
git.commit.id.abbrev=699851b

The following mondrian query (query106.q) failed due to schema change exception:

0: jdbc:drill:schema=dfs> select time_by_day.the_year as c0, 
sum(sales_fact_1997.unit_sales) as m0, count(distinct 
sales_fact_1997.customer_id) as m1 from time_by_day as time_by_day, 
sales_fact_1997 as sales_fact_1997 where sales_fact_1997.time_id = 
time_by_day.time_id and time_by_day.the_year = 1997 group by 
time_by_day.the_year;
Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while 
running query.[error_id: "d7d30240-1688-4db2-a703-e9a0a52a19e2"
endpoint {
  address: "qa-node117.qa.lab"
  user_port: 31010
  control_port: 31011
  data_port: 31012
}
error_type: 0
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. 
]"
]
Error: exception while executing query (state=,code=0)





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

Reply via email to