dilipbiswal commented on issue #24344: [SPARK-27440][SQL] Optimize uncorrelated predicate subquery URL: https://github.com/apache/spark/pull/24344#issuecomment-495103361 @francis0407 A small point. Currently for the non-correlated in case, we don't pushdown the join condition into the subquery side. We are in the middle of a refactor where we will do the rewritePredicateSubquery early in optimizer. After that we will have the in condition pushed down like following : ``` Join LeftSemi :- HiveTableRelation `default`.`a1`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [c1#669] +- Project +- Filter (isnotnull(c1#670) AND (c1#670 = 5)) +- HiveTableRelation `default`.`b1`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, [c1#670] ``` This should help cut-down the rows that are seen/processed by join.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
