Github user BryanCutler commented on the issue:
https://github.com/apache/spark/pull/12790
@yanboliang and @MechCoder , I updated this to remove the default value for
the `stages` param to be consistent with Scala and also made the pydocs a
little more clear that the param needs to be a list and could be empty.
Now if `getStages()` is called and the param is not set, it will result in
a `KeyError` and indicate the `stages` param, instead of just giving
"TypeError: 'NoneType' object is not iterable" as before. This is consistent
with other PySpark params also.
---
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]