You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "xzh_dz (Jira)" <ji...@apache.org> on 2021/09/16 09:40:00 UTC

[jira] [Comment Edited] (CALCITE-4781) group by index is not support

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

xzh_dz edited comment on CALCITE-4781 at 9/16/21, 9:39 AM:
-----------------------------------------------------------

It is not be supported,the constant needs to be the corresponding index column in the schema.You can commit PullRequest code to fix it.

 


was (Author: xzh_dz):
It is not be supported,the constant needs to be the corresponding index column in the schema.You can submit PullRequest code to fix it.

 

> group by index is not support
> -----------------------------
>
>                 Key: CALCITE-4781
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4781
>             Project: Calcite
>          Issue Type: Bug
>          Components: jdbc-adapter
>    Affects Versions: 1.24.0, 1.25.0
>            Reporter: zlzhang0122
>            Priority: Major
>             Fix For: 1.28.0
>
>         Attachments: calcite.png
>
>
> Now, the follow sql isn't support:
> {code:java}
> select empno, count(*) from emps group by 1;{code}
> will produce a problem,but:
> {code:java}
> select empno, count(*) from emps group by empno;
> {code}
> won't, this syntax maybe need to be support.
> !calcite.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)