Skip to content

[SPARKR][DOC] regexp_extract should doc that it returns empty string when match fails #14934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

felixcheung
Copy link
Member

What changes were proposed in this pull request?

Doc change - see https://issues.apache.org/jira/browse/SPARK-16324

How was this patch tested?

manual check

@SparkQA
Copy link

SparkQA commented Sep 2, 2016

Test build #64835 has finished for PR 14934 at commit 73c53a5.

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

@@ -2876,7 +2876,8 @@ setMethod("randn", signature(seed = "numeric"),

#' regexp_extract
#'
#' Extract a specific(idx) group identified by a java regex, from the specified string column.
#' Extract a specific \code{idx} group identified by a Java regex, from the specified string column.
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor comment: It looks like idx was removed in the comment change in #14525 -- I'm not sure if it matters, but we could either keep it consistent with the Scala/Python doc or keep the idx if you think it helps.

Copy link
Member Author

Choose a reason for hiding this comment

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

I noticed that - I thought @param idx a group index isn't super descriptive on what it is

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool sounds good.

@shivaram
Copy link
Contributor

shivaram commented Sep 2, 2016

LGTM. Merging into master, branch-2.0

asfgit pushed a commit that referenced this pull request Sep 2, 2016
…when match fails

## What changes were proposed in this pull request?

Doc change - see https://issues.apache.org/jira/browse/SPARK-16324

## How was this patch tested?

manual check

Author: Felix Cheung <felixcheung_m@hotmail.com>

Closes #14934 from felixcheung/regexpextractdoc.

(cherry picked from commit 419eefd)
Signed-off-by: Shivaram Venkataraman <shivaram@cs.berkeley.edu>
@asfgit asfgit closed this in 419eefd Sep 2, 2016
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.

3 participants