Emil Ejbyfeldt created SPARK-45849:
--------------------------------------

             Summary: 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


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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to