Skip to content

Commit 434929a

Browse files
committed
Do not remove dead code
1 parent e81a501 commit 434929a

File tree

1 file changed

+3
-0
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning

1 file changed

+3
-0
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning/patterns.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ object PhysicalOperation extends PredicateHelper {
6868
val substitutedCondition = substitute(aliases)(condition)
6969
(fields, filters ++ splitConjunctivePredicates(substitutedCondition), other, aliases)
7070

71+
case h: ResolvedHint =>
72+
collectProjectsAndFilters(h.child)
73+
7174
case other =>
7275
(None, Nil, other, Map.empty)
7376
}

0 commit comments

Comments
 (0)