Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/4094#issuecomment-70419658
(I think this warrants a little JIRA; it's not trivial.) On glancing at
this, I tend to agree. It looks like the intent was `max` and this is maybe a
typo? `defaultParallelism` can't be less than 1, so this method can only ever
return 1 or 2 as it is, which seems wrong.
---
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]