You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/04/22 04:53:45 UTC

[GitHub] [spark] gengliangwang commented on a change in pull request #32247: [SPARK-35075][SQL] Add traversal pruning for subquery related rules

gengliangwang commented on a change in pull request #32247:
URL: https://github.com/apache/spark/pull/32247#discussion_r618078613



##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
##########
@@ -40,7 +40,8 @@ import org.apache.spark.sql.catalyst.rules._
 import org.apache.spark.sql.catalyst.streaming.StreamingRelationV2
 import org.apache.spark.sql.catalyst.trees.TreeNodeRef
 import org.apache.spark.sql.catalyst.trees.TreePattern.{
-  EXPRESSION_WITH_RANDOM_SEED, NATURAL_LIKE_JOIN, WINDOW_EXPRESSION
+  EXISTS_SUBQUERY, EXPRESSION_WITH_RANDOM_SEED, FILTER, IN_SUBQUERY, NATURAL_LIKE_JOIN,

Review comment:
       Let's make it 
   ```
   import org.apache.spark.sql.catalyst.trees.TreePattern._
   ```




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org