spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenghao-intel <...@git.apache.org>
Subject [GitHub] spark pull request: SPARK-2686 Add Length support to Spark SQL and...
Date Mon, 28 Jul 2014 04:45:38 GMT
Github user chenghao-intel commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1586#discussion_r15446335
  
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringOperations.scala
---
    @@ -209,6 +209,70 @@ case class EndsWith(left: Expression, right: Expression)
     }
     
     /**
    + * A function that returns the number of bytes in an expression
    + */
    +case class Length(child: Expression) extends UnaryExpression {
    +
    +  type EvaluatedType = Any
    --- End diff --
    
    Should be `IntegerType`?


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

Mime
View raw message