You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2022/05/30 02:21:00 UTC

[jira] [Created] (SPARK-39333) Change to use `foreach` when `map` produce no result

Yang Jie created SPARK-39333:
--------------------------------

             Summary: Change to use `foreach` when `map` produce no result
                 Key: SPARK-39333
                 URL: https://issues.apache.org/jira/browse/SPARK-39333
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: Yang Jie


for example 

 

Seq(1, 2).map(println) -> Seq(1, 2).foreach(println)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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