[
https://issues.apache.org/jira/browse/SPARK-51796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihailo Aleksic updated SPARK-51796:
------------------------------------
Description:
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.
was:
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:
> Disable 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]