Reynold Xin created SPARK-19854:
-----------------------------------
Summary: 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
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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]