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

Joe McDonnell resolved IMPALA-11937.
------------------------------------
    Fix Version/s: Impala 4.3.0
       Resolution: Fixed

> PERF_AGG-Q10 fails by illegal GroupBy clause
> --------------------------------------------
>
>                 Key: IMPALA-11937
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11937
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: Impala 4.3.0
>
>
> PERF_AGG-Q10 in testdata/workloads/targeted-perf/queries/aggregation.test 
> fails to run:
> {code:sql}
> SELECT count(distinct 'test') agg1,
>   count(distinct 1234) agg2,
>   'grouping value' g
> FROM
>   lineitem
> GROUP BY 2
> ERROR: AnalysisException: GROUP BY expression must not contain aggregate 
> functions: 2
> {code}
> The GROUP BY ordinal 2 refers to "count(distinct 1234)". We should use 3 
> instead.



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

Reply via email to