Github user tejasapatil commented on the issue:
https://github.com/apache/spark/pull/14864
@cloud-fan : Sounds good to me.
I tried doing that but got a `Task not serializable:
java.io.NotSerializableException: org.apache.hadoop.fs.LocatedFileStatus`. This
is because the new lazy val introduced is a sequence of `Partition` and
`Partition` comprises of `FileStatus` which is hadoop internal [0].
`LocatedFileStatus` is not serializable. Any suggestion on how to work around
that ?
[0] :
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/fileSourceInterfaces.scala#L324
---
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]