You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by visaxin <gi...@git.apache.org> on 2017/10/24 05:42:04 UTC

[GitHub] spark pull request #18477: [SPARK-21261][DOCS]SQL Regex document fix

Github user visaxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18477#discussion_r146457833
  
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/regexpExpressions.scala ---
    @@ -268,7 +268,7 @@ case class StringSplit(str: Expression, pattern: Expression)
       usage = "_FUNC_(str, regexp, rep) - Replaces all substrings of `str` that match `regexp` with `rep`.",
       extended = """
         Examples:
    -      > SELECT _FUNC_('100-200', '(\d+)', 'num');
    +      > SELECT _FUNC_('100-200', '(\\d+)', 'num');
    --- End diff --
    
    I add spark-sql and scala to make it clear.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org