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 2019/05/21 04:22:05 UTC

[jira] [Updated] (SPARK-6854) No support for get and eval-quote

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

Hyukjin Kwon updated SPARK-6854:
--------------------------------
    Labels: bulk-closed  (was: )

> No support for get and eval-quote
> ---------------------------------
>
>                 Key: SPARK-6854
>                 URL: https://issues.apache.org/jira/browse/SPARK-6854
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 1.3.0
>            Reporter: Antonio Piccolboni
>            Priority: Major
>              Labels: bulk-closed
>
> In an R --vanilla session
> z = 1
> sc = sparkR.init()
> collect(lapply(parallelize(sc, 1), function(i) get("z")))
> collect(lapply(parallelize(sc, 1), function(i) eval(as.name("z"))))
> Both fail on z not being found. I am filing this as part of a discussion about the interaction of R scope rules and spark and particularly to illustrate that static code analysis can only go so far in predicting which objects need to be distributed to the nodes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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