Yuming Wang created SPARK-43851:
-----------------------------------
Summary: Support LCA in grouping expressions
Key: SPARK-43851
URL: https://issues.apache.org/jira/browse/SPARK-43851
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.5.0
Reporter: Yuming Wang
{code:sql}
create table t1(a int) using parquet;
select a + 1 as a1, a1 + 1 as a2 from t1 group by a1, a2;
{code}
{noformat}
[UNSUPPORTED_FEATURE.LATERAL_COLUMN_ALIAS_IN_GROUP_BY] The feature is not
supported: Referencing a lateral column alias via GROUP BY alias/ALL is not
supported yet.
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]