You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/06/29 19:36:24 UTC
[jira] [Resolved] (OPTIQ-300) Support multiple parameters in
count(distinct col1, col2, ..)
[ https://issues.apache.org/jira/browse/OPTIQ-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved OPTIQ-300.
-------------------------------
Resolution: Fixed
Fixed in https://git-wip-us.apache.org/repos/asf?p=incubator-optiq.git;a=commit;h=4f80e6424db2054a9163f2f96331d23acd7a4735.
> Support multiple parameters in count(distinct col1, col2, ..)
> -------------------------------------------------------------
>
> Key: OPTIQ-300
> URL: https://issues.apache.org/jira/browse/OPTIQ-300
> Project: optiq
> Issue Type: Improvement
> Reporter: GitHub Import
> Labels: github-import
>
> Currently for sql like -- select count(distinct seller_id, lstg_format_name) from test_kylin_fact
> Will result --
> org.eigenbase.sql.validate.SqlValidatorException <init>
> SEVERE: org.eigenbase.sql.validate.SqlValidatorException: Invalid number of arguments to function 'COUNT'. Was expecting 1 arguments
> Could optiq support multiple parameters in count(distinct ...) ?
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/julianhyde/optiq/issues/300
> Created by: [liyang-gmt8|https://github.com/liyang-gmt8]
> Labels: enhancement,
> Created at: Thu Jun 12 12:00:44 CEST 2014
> State: open
--
This message was sent by Atlassian JIRA
(v6.2#6252)