Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/7630#discussion_r35388257
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala
---
@@ -83,6 +83,11 @@ trait CheckAnalysis {
s"filter expression '${f.condition.prettyString}' " +
s"of type ${f.condition.dataType.simpleString} is not a
boolean.")
+ case j @ Join(_, _, _, Some(condition)) if condition.dataType !=
BooleanType =>
--- End diff --
Can we also make `Join`'s `resolved` only true if the condition is of the
correct type?
---
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]