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

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

> Disallow Sort order expressions under non-Sort operators
> --------------------------------------------------------
>
>                 Key: SPARK-51796
>                 URL: https://issues.apache.org/jira/browse/SPARK-51796
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Mihailo Aleksic
>            Priority: Major
>              Labels: pull-request-available
>
> Sort order expressions shouldn't be found under operators besides Sort (ORDER 
> BY).
> For example following Dataframe program throws an internal error instead of 
> an user facing one:
> {code:java}
> val df = sql("SELECT 1 AS name")
> df.select(desc("name"))
> {code}
> I propose that we fix it by throwing a proper user facing error.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to