drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1153) Missing Function: $sum0(FLOAT8-OPTIONAL)
Date Thu, 04 Dec 2014 01:37:13 GMT

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

Chun Chang commented on DRILL-1153:
-----------------------------------

verified fix.
#Wed Dec 03 15:18:01 EST 2014
git.commit.id.abbrev=58994af

0: jdbc:drill:schema=dfs.drillTestDirMondrian> 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;
+------------+------------+------------+
|     c0     |     m0     |     m1     |
+------------+------------+------------+
| 1997       | 266773.0   | 5581       |
+------------+------------+------------+

> Missing Function: $sum0(FLOAT8-OPTIONAL)
> ----------------------------------------
>
>                 Key: DRILL-1153
>                 URL: https://issues.apache.org/jira/browse/DRILL-1153
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Chun Chang
>            Assignee: Hanifi Gunes
>             Fix For: 0.4.0
>
>
> #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.3.4#6332)

Mime
View raw message