You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/07/28 08:01:00 UTC

[jira] [Updated] (IMPALA-10096) May throw exception after expr rewritten , if the group by ordinal reference is still a numeric literal

     [ https://issues.apache.org/jira/browse/IMPALA-10096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Quanlong Huang updated IMPALA-10096:
------------------------------------
    Priority: Critical  (was: Minor)

> May throw exception after expr rewritten , if the group by ordinal reference is still a numeric literal
> -------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-10096
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10096
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 4.0.0
>            Reporter: Xianqing He
>            Assignee: Xianqing He
>            Priority: Critical
>             Fix For: Impala 4.0.0
>
>
> When the sql can rewrite,  if the group by ordinal reference is still a numeric literal, it will throw exception
> {code:java}
> select 13, id, count(1) from dimtbl group by 1, 2;
> ERROR: AnalysisException: GROUP BY: ordinal exceeds the number of items in the SELECT list: 13
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org