Is your feature request related to a problem? Please describe.
At the moment all the algorithms from lib return DataFrame and only PageRank returns a new GraphFrame where vertices has an additional column.
Describe the solution you would like
- Add an argument to PySpark wrappers like
legacy_mode: bool that is true by default to avoid breaking changes
- Based on this argument, if legacy mode we are returning from PageRank a
GraphFrame, but if it is false only a DataFrame of scores
- Raise a deprecation warning if the
legacy_mode is true with a messages that in future version PageRank will return only DataFrame with scores
- Add the same argument to scala parts
Component
Additional context
We can plan it for the future 1.0 release to follow a semantic versioning. Feel free to ask me about details.
Are you planning on creating a PR?
Is your feature request related to a problem? Please describe.
At the moment all the algorithms from
libreturnDataFrameand onlyPageRankreturns a newGraphFramewhereverticeshas an additional column.Describe the solution you would like
legacy_mode: boolthat is true by default to avoid breaking changesGraphFrame, but if it is false only a DataFrame of scoreslegacy_modeis true with a messages that in future version PageRank will return only DataFrame with scoresComponent
Additional context
We can plan it for the future 1.0 release to follow a semantic versioning. Feel free to ask me about details.
Are you planning on creating a PR?