Antonio Piccolboni created SPARK-6854:
-----------------------------------------
Summary: 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
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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]