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 c34f030 commit 86f28d5Copy full SHA for 86f28d5
sql/core/src/main/scala/org/apache/spark/sql/execution/OptimizeMetadataOnlyQuery.scala
@@ -117,11 +117,7 @@ case class OptimizeMetadataOnlyQuery(catalog: SessionCatalog) extends Rule[Logic
117
case a: AttributeReference =>
118
a.withName(relation.output.find(_.semanticEquals(a)).get.name)
119
}
120
- }
121
-
122
- if (normalizedFilters.exists(_.find(_.isInstanceOf[Unevaluable]).isDefined)) {
123
- return child
124
+ }.filterNot(SubqueryExpression.hasSubquery)
125
126
child transform {
127
case plan if plan eq relation =>
0 commit comments