You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:16:22 UTC
[jira] [Resolved] (SPARK-19854) Refactor file partitioning strategy
to make it easier to extend / unit test
[ https://issues.apache.org/jira/browse/SPARK-19854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-19854.
----------------------------------
Resolution: Incomplete
> Refactor file partitioning strategy to make it easier to extend / unit test
> ---------------------------------------------------------------------------
>
> Key: SPARK-19854
> URL: https://issues.apache.org/jira/browse/SPARK-19854
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: Reynold Xin
> Assignee: Reynold Xin
> Priority: Major
> Labels: bulk-closed
>
> The way we currently do file partitioning strategy is hard coded in FileSourceScanExec. This is not ideal for two reasons:
> 1. It is difficult to unit test the default strategy. In order to test this, we need to do almost end-to-end tests by creating actual files on the file system.
> 2. It is difficult to experiment with different partitioning strategies without adding a lot of if branches.
> The goal of this story is to create an internal interface for this so we can make this pluggable for both better testing and experimentation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org