Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/5309#discussion_r27704826
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringOperations.scala
---
@@ -156,9 +156,9 @@ case class Lower(child: Expression) extends
UnaryExpression with CaseConversionE
/** A base trait for functions that compare two strings, returning a
boolean. */
trait StringComparison {
- self: BinaryExpression =>
+ self: BinaryPredicate =>
- type EvaluatedType = Any
+ override type EvaluatedType = Any
override def nullable: Boolean = left.nullable || right.nullable
override def dataType: DataType = BooleanType
--- End diff --
I think this `dataType` is technically redundant now.
---
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]