yeshengm opened a new pull request #24866: [WIP][SQL] Micro-optimization to avoid expensive reference computation in QueryPlan and Expression URL: https://github.com/apache/spark/pull/24866 ## What changes were proposed in this pull request? The original `references` implementation in a few `QueryPlan` and `Expression` classes are methods, which means unnecessary re-computation can happen at times. This PR resolves this problem by making these method `lazy val`s. Pending benchmark results. ## How was this patch tested? Existing UTs.
---------------------------------------------------------------- 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]
