mgaido91 commented on a change in pull request #23392: [SPARK-26450][SQL] Avoid
rebuilding map of schema for every column in projection
URL: https://github.com/apache/spark/pull/23392#discussion_r244850461
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/package.scala
##########
@@ -88,7 +88,9 @@ package object expressions {
/**
* A helper function to bind given expressions to an input schema.
*/
- def toBoundExprs(exprs: Seq[Expression], inputSchema: Seq[Attribute]):
Seq[Expression] = {
+ def toBoundExprs[A <: Expression](
+ exprs: Seq[A],
Review comment:
nit: indent
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]