[ https://issues.apache.org/jira/browse/SPARK-31292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135374#comment-17135374 ]
Apache Spark commented on SPARK-31292: -------------------------------------- User 'maropu' has created a pull request for this issue: https://github.com/apache/spark/pull/28830 > 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 > Assignee: Kengo Seki > Priority: Trivial > Fix For: 3.0.0 > > > 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