ulysses-you commented on a change in pull request #32602:
URL: https://github.com/apache/spark/pull/32602#discussion_r635814179



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/EliminateUnnecessaryJoin.scala
##########
@@ -59,19 +66,33 @@ object EliminateUnnecessaryJoin extends Rule[LogicalPlan] {
         case Some(count) => hasRow == (count > 0)
         case _ => false
       }
+
+    case LocalRelation(_, data, isStreaming) if !isStreaming =>

Review comment:
       yes, but currently we have no chance to do normal optimizer at AQE side. 
Maybe we can let some rules which in `Optimizer` also available at 
`AQEOptimizer` in future ?




-- 
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]

Reply via email to