Github user HyukjinKwon commented on the pull request:
https://github.com/apache/spark/pull/11270#issuecomment-192106315
@rxin If you think we should not list up not even once then, should we
maybe then just detect the source only by given paths without listing up and
then just leave the `sqlContext.conf.defaultDataSourceName` option?
So, in other words,
```bash
âââ iamjson.json # Detect success by the extension of
`iamjson.json`
â  âââ part-001
â  âââ part-002
âââ iamjson # Try use
`sqlContext.conf.defaultDataSourceName` and then
â â # throw an exception in Parquet-side.
â  âââ part-001
â  âââ part-002
âââ iamparquet.parquet # Detect success by the extension of
`iamparquet.parquet`
â  âââ part-001.parquet
â  âââ part-002.parquet
âââ iamparquet # Just use
`sqlContext.conf.defaultDataSourceName`
âââ part-001.parquet
âââ part-002.parquet
```
---
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]