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

2020-11-18 Thread Dongjoon Hyun (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-33091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-33091:
--
Fix Version/s: (was: 3.02)
   3.0.2

> Avoid using map instead of foreach to avoid potential side effect at callers 
> of OrcUtils.readCatalystSchema
> ---
>
> Key: SPARK-33091
> URL: https://issues.apache.org/jira/browse/SPARK-33091
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.0.1, 3.1.0
>Reporter: Hyukjin Kwon
>Assignee: Hyukjin Kwon
>Priority: Minor
> Fix For: 3.0.2, 3.1.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2020-10-07 Thread Hyukjin Kwon (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-33091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-33091:
-
Summary: Avoid using map instead of foreach to avoid potential side effect 
at callers of OrcUtils.readCatalystSchema  (was: Avoid using map instead of 
foreach to avoid potential side effect at callee of OrcUtils.readCatalystSchema)

> Avoid using map instead of foreach to avoid potential side effect at callers 
> of OrcUtils.readCatalystSchema
> ---
>
> Key: SPARK-33091
> URL: https://issues.apache.org/jira/browse/SPARK-33091
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.0.1, 3.1.0
>Reporter: Hyukjin Kwon
>Priority: Minor
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org