[
https://issues.apache.org/jira/browse/SPARK-6500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick updated SPARK-6500:
------------------------
Description:
I just downloaded and installed Spark 1.3.
Inside README.md there is this example
{code}
And run the following command, which should also return 1000:
>>> sc.parallelize(range(1000)).count()
{code}
which does not compile
{code}
<console>:22: error: not found: value range
{code}
This example does work
{code}
sc.parallelize(1 to 1000).count()
{code}
I'd be happy to create a pull request if necessary.
was:
I just downloaded and installed Spark 1.3.
Inside README.md there is this example
{code}
And run the following command, which should also return 1000:
>>> sc.parallelize(range(1000)).count()
{code}
which does not compile
{code}
<console>:22: error: not found: value range
{code}
This example does work
{code}
sc.parallelize(1 to 1000).count()
{code}
> Scala code example in README.md does not compile
> ------------------------------------------------
>
> Key: SPARK-6500
> URL: https://issues.apache.org/jira/browse/SPARK-6500
> Project: Spark
> Issue Type: Bug
> Reporter: Nick
> Priority: Trivial
>
> I just downloaded and installed Spark 1.3.
> Inside README.md there is this example
>
> {code}
> And run the following command, which should also return 1000:
> >>> sc.parallelize(range(1000)).count()
> {code}
> which does not compile
> {code}
> <console>:22: error: not found: value range
> {code}
> This example does work
> {code}
> sc.parallelize(1 to 1000).count()
> {code}
> I'd be happy to create a pull request if necessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]