Quanlong Huang created IMPALA-11937:
---------------------------------------

             Summary: 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


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 constant '2' is treated as an ordinal so it's rewritten to 
"count(distinct 1234)".



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to