Github user viirya commented on the pull request: https://github.com/apache/spark/pull/11647#issuecomment-195302187 I was measuring the time to finish the code snippet shown in pr description. But I think I should only measure the time spent on `val actual = Optimize.execute(plan)`. Let me update it: With this patch: 84362 microseconds 84075 microseconds 86192 microseconds Without this patch: 492139 microseconds 503386 microseconds 463162 microseconds
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org