Github user zjffdu commented on the pull request:
https://github.com/apache/spark/pull/9223#issuecomment-151143545
Still put the input paths checking in JsonRelation. Because there's still
some cases that is valid for empty input. e.g. when creating a table based on
an empty directory. The base class HadoopFsRelation don't know when
fileStatusCache will be used. So it would be better put the input paths
checking in sub class.
---
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]