Kengo Seki created SPARK-31292:
----------------------------------

             Summary: Replace toSet.toSeq with distinct for readability
                 Key: SPARK-31292
                 URL: https://issues.apache.org/jira/browse/SPARK-31292
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core, SQL
    Affects Versions: 3.0.0
            Reporter: Kengo Seki


Some classes use {{toSet.toSeq}} to make the elements of a sequence unique, but 
it's a bit verbose. Using {{distinct}} instead is easier to understand.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to