[
https://issues.apache.org/jira/browse/SPARK-48010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-48010.
-----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 46248
[https://github.com/apache/spark/pull/46248]
> 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
> Assignee: Nikhil Sheoran
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> 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]