You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by gatorsmile <gi...@git.apache.org> on 2017/08/06 03:43:30 UTC

[GitHub] spark pull request #12646: [SPARK-14878][SQL] Trim characters string functio...

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

    https://github.com/apache/spark/pull/12646#discussion_r131533855
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
    @@ -2304,7 +2304,15 @@ object functions {
        * @group string_funcs
        * @since 1.5.0
        */
    -  def ltrim(e: Column): Column = withExpr {StringTrimLeft(e.expr) }
    +  def ltrim(e: Column): Column = withExpr {StringTrimLeft(e.expr)}
    --- End diff --
    
    You need to update the styles of all the newly added functions in this file. For example,
    ```Scala
    def ltrim(e: Column): Column = withExpr {
      StringTrimLeft(e.expr)
    }
    ```


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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