[
https://issues.apache.org/jira/browse/SPARK-45849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-45849:
-----------------------------------
Labels: pull-request-available (was: )
> Remove uneccessary toSeq when encoding Set to catalyst
> ------------------------------------------------------
>
> Key: SPARK-45849
> URL: https://issues.apache.org/jira/browse/SPARK-45849
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Emil Ejbyfeldt
> Priority: Minor
> Labels: pull-request-available
>
> Currently when encoding Sets to catalyst we first convert them into a Seq.
> There is no good reason to do this as the interface we are targeting for
> encoding is only `Iterable` which is implemented by Set. So by using Iterable
> instead of Seq in some places we should be able to avoid this extra copy when
> encoding Sets.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]