[
https://issues.apache.org/jira/browse/IMPALA-11937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702897#comment-17702897
]
ASF subversion and git services commented on IMPALA-11937:
----------------------------------------------------------
Commit 9ccb5f7bfc5ffef0001f116abe032231feef8efd in impala's branch
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=9ccb5f7bf ]
IMPALA-11937: Fix wrong GROUP BY ordinal in PERF_AGG-Q10
This fixes the wrong GROUP BY ordinal used in PERF_AGG-Q10 so the query
can actually run.
Verified by
bin/run-workload.py --workloads=targeted-perf \
--table_formats=parquet/none \
--query_names=PERF_AGG-Q10
Change-Id: I285f74a12bb16c60d30ffe958337b054baf86479
Reviewed-on: http://gerrit.cloudera.org:8080/19531
Reviewed-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Daniel Becker <[email protected]>
Tested-by: Daniel Becker <[email protected]>
> 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
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]