cloud-fan commented on code in PR #48240:
URL: https://github.com/apache/spark/pull/48240#discussion_r1777212646
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveDataFrameDropColumns.scala:
##########
@@ -36,7 +36,7 @@ class ResolveDataFrameDropColumns(val catalogManager:
CatalogManager)
// df.drop(col("non-existing-column"))
val dropped = d.dropList.map {
case u: UnresolvedAttribute =>
- resolveExpressionByPlanChildren(u, d.child)
+ resolveExpressionByPlanChildren(u, d)
Review Comment:
This is a good catch! When do we start to have this bug?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]