Github user hvanhovell commented on a diff in the pull request:
https://github.com/apache/spark/pull/12820#discussion_r61689405
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala
---
@@ -115,8 +115,8 @@ trait CheckAnalysis extends PredicateHelper {
case f @ Filter(condition, child) =>
splitConjunctivePredicates(condition).foreach {
case _: PredicateSubquery | Not(_: PredicateSubquery) =>
- case e if PredicateSubquery.hasPredicateSubquery(e) =>
- failAnalysis(s"Predicate sub-queries cannot be used in
nested conditions: $e")
+ case e if PredicateSubquery.hasNullAwarePredicate(e) =>
+ failAnalysis(s"Null-aware sub-queries cannot be used in
nested conditions: $e")
--- End diff --
What is the problem here? We cannot use the same condition we currently use
for NAAJ?
---
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]