You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/06/06 12:13:00 UTC
[jira] [Commented] (SPARK-39037) DS V2 Top N push-down supports order by expressions
[ https://issues.apache.org/jira/browse/SPARK-39037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550444#comment-17550444 ]
Apache Spark commented on SPARK-39037:
--------------------------------------
User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/36776
> DS V2 Top N push-down supports order by expressions
> ---------------------------------------------------
>
> Key: SPARK-39037
> URL: https://issues.apache.org/jira/browse/SPARK-39037
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.4.0
> Reporter: jiaan.geng
> Assignee: jiaan.geng
> Priority: Major
> Fix For: 3.4.0
>
>
> Currently, Spark DS V2 Top N push-down only supports order by column.
> But the SQL show below is very useful and common.
> SELECT CASE WHEN ("SALARY" > 8000.00) AND ("SALARY" < 10000.00) THEN "SALARY" ELSE 0.00 END AS key, dept, name FROM "test"."employee" ORDER BY key
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org