Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/6091#issuecomment-101462626
For now, we can check whether there is an `=` in the directory name. If the
directory name
1. doesn't contain `=`, and
2. starts with `_` or `.`
then we can ignore them. But we may want to support customized partition
discovery strategies later. For example, one possible strategy that some users
had once asked for is not to encode partition column names in directory paths,
(i.e., `path/1/2` instead of `path/a=1/b=2`). In that case, we simply can't
have any assumption over the partition name, even using `_temporary` is not
100% safe.
---
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]