Skip to content

[SPARK-10373] [PYSPARK] move @since into pyspark from sql#8657

Closed
davies wants to merge 1 commit into
apache:masterfrom
davies:move_since
Closed

[SPARK-10373] [PYSPARK] move @since into pyspark from sql#8657
davies wants to merge 1 commit into
apache:masterfrom
davies:move_since

Conversation

@davies

@davies davies commented Sep 8, 2015

Copy link
Copy Markdown
Contributor

cc @mengxr

@SparkQA

SparkQA commented Sep 8, 2015

Copy link
Copy Markdown

Test build #42152 has finished for PR 8657 at commit 6548f25.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin

rxin commented Sep 8, 2015

Copy link
Copy Markdown
Contributor

Would this also import the since function if somebody does "from pyspark import *"?

@davies

davies commented Sep 8, 2015

Copy link
Copy Markdown
Contributor Author

@rxin No, it's not in __all__.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be OK to add a clause to handle situations where f.doc is None? There are a handful of methods without docstrings. Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to have some docs for public APIs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, that makes more sense. Ignore the comment above.

@mengxr

mengxr commented Sep 9, 2015

Copy link
Copy Markdown
Contributor

LGTM. Merged into master. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants