zlzhang0122 created CALCITE-4781:
------------------------------------
Summary: 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.25.0, 1.24.0
Reporter: zlzhang0122
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)