You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/10/08 05:16:00 UTC

[jira] [Created] (SPARK-33091) Avoid using map instead of foreach to avoid potential side effect at OrcUtils.readCatalystSchema

Hyukjin Kwon created SPARK-33091:
------------------------------------

             Summary: Avoid using map instead of foreach to avoid potential side effect at OrcUtils.readCatalystSchema
                 Key: SPARK-33091
                 URL: https://issues.apache.org/jira/browse/SPARK-33091
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.1, 3.1.0
            Reporter: Hyukjin Kwon


This is a kind of a followup of SPARK-32646. New JIRA was filed to control the fixed versions properly.

When you use {{map}}, it might be lazily evaluated and not executed. To avoid this,  we should better use {{foreach}}.

See also SPARK-16694



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

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