Skip to content

Commit a40a130

Browse files
committed
fix style
1 parent 9dc7a7e commit a40a130

File tree

1 file changed

+4
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+4
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,10 @@ class Analyzer(
596596
exprs.exists(_.collect { case _: Star => true }.nonEmpty)
597597
}
598598

599-
private[sql] def resolveExpression(expr: Expression, plan: LogicalPlan, throws: Boolean = false) = {
599+
protected[sql] def resolveExpression(
600+
expr: Expression,
601+
plan: LogicalPlan,
602+
throws: Boolean = false) = {
600603
// Resolve expression in one round.
601604
// If throws == false or the desired attribute doesn't exist
602605
// (like try to resolve `a.b` but `a` doesn't exist), fail and return the origin one.

0 commit comments

Comments
 (0)