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

    https://github.com/apache/spark/pull/7468#discussion_r35070334
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -1828,6 +1828,46 @@ object functions {
       def ascii(columnName: String): Column = ascii(Column(columnName))
     
       /**
    +   * Extract a specific(idx) group identified by a java regex, from the 
specified string value.
    +   *
    +   * @group string_funcs
    +   * @since 1.5.0
    +   */
    +  def regexp_extract(e: Column, exp: String, groupIdx: Int): Column = {
    +    RegExpExtract(e.expr, lit(exp).expr, lit(groupIdx).expr)
    +  }
    +
    +  /**
    +   * Extract a specific(idx) group identified by a java regex, from the 
specified string column.
    +   *
    +   * @group string_funcs
    +   * @since 1.5.0
    +   */
    +  def regexp_extract(columnName: String, exp: String, groupIdx: Int): 
Column = {
    --- End diff --
    
    remove this one 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]

Reply via email to