Github user zhichao-li commented on the pull request:
https://github.com/apache/spark/pull/9097#issuecomment-154919462
`CombineHiveInputFormat` or `CombineFileInputFormat` would have the
restriction that it would always suppose the combined inputformat is a subclass
of FileInputformat, but would not the same case if we can combine on InputSplit.
``` scala
+public class CombineSplit implements InputSplit {
+ private InputSplit[] splits;
+ private long totalLen;
+ private String[] locations;
```
VS
``` scala
public class CombineFileSplit extends InputSplit implements Writable {
private Path[] paths;
private long[] startoffset;
private long[] lengths;
private String[] locations;
private long totLength;
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]