Nikhil Sheoran created SPARK-48010:
--------------------------------------
Summary: Avoid repeated calls to conf.resolver in resolveExpression
Key: SPARK-48010
URL: https://issues.apache.org/jira/browse/SPARK-48010
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.4.3
Reporter: Nikhil Sheoran
Consider a view with a large number of columns (~1000s). When resolving this
view, looking at the flamegraph, observed repeated initializations of `conf` to
obtain the `resolver` for each column of the view.
This can be easily optimized to reuse the same resolver (obtained once) for the
various calls to `innerResolve` in `resolveExpression`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]