We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e3d96 commit 45a91fcCopy full SHA for 45a91fc
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/subquery.scala
@@ -117,10 +117,10 @@ object SubExprUtils extends PredicateHelper {
117
def hasNullAwarePredicateWithinNot(condition: Expression): Boolean = {
118
splitConjunctivePredicates(condition).exists {
119
case _: Exists | Not(_: Exists) => false
120
- case In(_, Seq(_: ListQuery)) | Not(In(_, Seq(_: ListQuery))) => false
+ case _: InSubquery | Not(_: InSubquery) => false
121
case e => e.find { x =>
122
x.isInstanceOf[Not] && e.find {
123
- case In(_, Seq(_: ListQuery)) => true
+ case _: InSubquery => true
124
case _ => false
125
}.isDefined
126
0 commit comments