File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,11 @@ trait CheckAnalysis {
46
46
operator transformExpressionsUp {
47
47
case a : Attribute if ! a.resolved =>
48
48
if (operator.childrenResolved) {
49
- val nameParts = a match {
50
- case UnresolvedAttribute (nameParts) => nameParts
51
- case _ => Seq (a.name)
49
+ a match {
50
+ case UnresolvedAttribute (nameParts) =>
51
+ // Throw errors for specific problems with get field.
52
+ operator.resolveChildren(nameParts, resolver, throwErrors = true )
52
53
}
53
- // Throw errors for specific problems with get field.
54
- operator.resolveChildren(nameParts, resolver, throwErrors = true )
55
54
}
56
55
57
56
val from = operator.inputSet.map(_.name).mkString(" , " )
You can’t perform that action at this time.
0 commit comments