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 9dc7a7e commit a40a130Copy full SHA for a40a130
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
@@ -596,7 +596,10 @@ class Analyzer(
596
exprs.exists(_.collect { case _: Star => true }.nonEmpty)
597
}
598
599
- private[sql] def resolveExpression(expr: Expression, plan: LogicalPlan, throws: Boolean = false) = {
+ protected[sql] def resolveExpression(
600
+ expr: Expression,
601
+ plan: LogicalPlan,
602
+ throws: Boolean = false) = {
603
// Resolve expression in one round.
604
// If throws == false or the desired attribute doesn't exist
605
// (like try to resolve `a.b` but `a` doesn't exist), fail and return the origin one.
0 commit comments