amoghmargoor commented on pull request #28424: URL: https://github.com/apache/spark/pull/28424#issuecomment-625438001
I was thinking about a corner case - If there is a intersect with a `limit` query, will pushing distinct through left semi-join onto such limit query cause more expensive scan ? I am hoping StatsEstimator would have reasonable estimate for `limit` query and `canBroadcast(right)` will true in such cases and rule will not be triggered. But a good thing to check. ---------------------------------------------------------------- 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]
