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/07/17 19:50:00 UTC

[jira] [Commented] (SPARK-39644) Add RangePartitioning to DataSource V2

    [ https://issues.apache.org/jira/browse/SPARK-39644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567736#comment-17567736 ] 

Apache Spark commented on SPARK-39644:
--------------------------------------

User 'EnricoMi' has created a pull request for this issue:
https://github.com/apache/spark/pull/37211

> Add RangePartitioning to DataSource V2
> --------------------------------------
>
>                 Key: SPARK-39644
>                 URL: https://issues.apache.org/jira/browse/SPARK-39644
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Enrico Minack
>            Priority: Major
>
> DataSourceV2 allows data sources to report existing partitioning of read data (org.apache.spark.sql.connector.read.partitioning). Currently, there is only KeyGroupedPartitioning and UnknownPartitioning. Data sources should be able to report global ordered data so that downstream operations can exploit this.
> The following is required for this to work:
> - Define RangePartitioning as a new implementation of Partitioning
> - Add Catalyst rules that handle this partitioning
> - Add a test source that reports ordering to proof that subsequent operations that require order do not invoke sorting the data.



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

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