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

    https://github.com/apache/spark/pull/6843#discussion_r32804551
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -1347,11 +1348,103 @@ object functions {
     
       /**
        * Computes the length of a given string column
    +   *
        * @group string_funcs
        * @since 1.5.0
        */
       def strlen(columnName: String): Column = strlen(Column(columnName))
     
    +  /**
    +   * Computes the numeric value of the first character of the specified 
string value.
    +   *
    +   * @group string_funcs
    +   * @since 1.5.0
    +   */
    +  def ascii(e: Column): Column = Ascii(e.expr)
    +
    +  /**
    +   * Computes the numeric value of the first character of the specified 
string column.
    +   *
    +   * @group string_funcs
    +   * @since 1.5.0
    +   */
    +  def ascii(columnName: String): Column = ascii(Column(columnName))
    +
    +  /**
    +   * Computes the specified value from binary to a base 64 string.
    +   *
    +   * @group string_funcs
    +   * @since 1.5.0
    +   */
    +  def base64(e: Column): Column = Base64(e.expr)
    +
    +  /**
    +   * Computes the specified column from binary to a base 64 string.
    +   *
    +   * @group string_funcs
    +   * @since 1.5.0
    +   */
    +  def base64(columnName: String): Column = base64(Column(columnName))
    +
    +  /**
    +   * Computes the specified value from a base 64 string to binary.
    --- End diff --
    
    Base64 is a single word


---
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