cloud-fan commented on a change in pull request #32841:
URL: https://github.com/apache/spark/pull/32841#discussion_r648847167
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/hints.scala
##########
@@ -30,7 +30,8 @@ import
org.apache.spark.sql.catalyst.trees.TreePattern.{TreePattern, UNRESOLVED_
case class UnresolvedHint(name: String, parameters: Seq[Any], child:
LogicalPlan)
extends UnaryNode {
- override lazy val resolved: Boolean = false
+ override lazy val resolved: Boolean = child.resolved
Review comment:
Yea, it's just for sanity check, to make sure `UnresolvedHint` shouldn't
exist after analysis.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]