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/06/06 23:32:01 UTC

[jira] [Commented] (DRILL-658) CannotPlanException for multiple count(distinct())

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

Chun Chang commented on DRILL-658:
----------------------------------

This bug is still outstanding as of

#Fri Jun 06 10:06:50 PDT 2014
git.commit.id.abbrev=3db1d5a

> CannotPlanException for multiple count(distinct())
> --------------------------------------------------
>
>                 Key: DRILL-658
>                 URL: https://issues.apache.org/jira/browse/DRILL-658
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Chun Chang
>
> postgres:
> foodmart=# select count(distinct(c_int)), count(distinct(c_bigint)), count(distinct(c_float4)), count(distinct(c_float8)) from data;
>  count | count | count | count
> -------+-------+-------+-------
>     21 |    23 |    22 |    20
> (1 row)
> drill:
> 0: jdbc:drill:schema=dfs> select count(distinct(c_int)), count(distinct(c_bigint)), count(distinct(c_float4)), count(distinct(c_float8)) from data;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "658d1c88-3968-457f-82e1-26c76ff7b54b"
> endpoint {
>   address: "qa-node120.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while parsing sql. < CannotPlanException:[ Node [rel#5852:Subset#33.PHYSICAL.SINGLETON([]).[]] could not be implemented;



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