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

ASF GitHub Bot updated SPARK-34122:
-----------------------------------
    Labels: pull-request-available  (was: )

> Remove duplicated branches in case when
> ---------------------------------------
>
>                 Key: SPARK-34122
>                 URL: https://issues.apache.org/jira/browse/SPARK-34122
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Lantao Jin
>            Priority: Minor
>              Labels: pull-request-available
>
> CaseWhen with duplicated branches could be dedup
> {code}
> SELECT CASE WHEN key = 1 THEN 1 WHEN key = 1 THEN 1 WHEN key = 1 THEN 1
> ELSE 2 END FROM testData WHERE key = 1 group by key
> {code}



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