zml1206 commented on PR #46499: URL: https://github.com/apache/spark/pull/46499#issuecomment-2124277717
@cloud-fan I tried to push down predicate through `With`, however, found that when there is complex nesting, legal `With` cannot be generated, common expression exists in both child and defs of `With`. For example ``` SELECT * FROM ( SELECT c, c * c AS d FROM ( SELECT a + a AS c FROM t1 ) t2 GROUP BY c ) t3 WHERE d + d > c + c ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org