Nick created SPARK-6500:
---------------------------

             Summary: 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}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to