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

Animesh Baranawal updated SPARK-7980:
-------------------------------------
    Comment: was deleted

(was: Regarding the python support for range, I am unable to check the 
functioning in pyspark...
Even for the pre-defined range function in context.py, when I type the 
following in ./bin/pyspark:

sqlContext.range(1, 7, 2).collect() 

I get the error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: range() takes exactly 2 arguments (4 given))

> Support SQLContext.range(end)
> -----------------------------
>
>                 Key: SPARK-7980
>                 URL: https://issues.apache.org/jira/browse/SPARK-7980
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>
> SQLContext.range should also allow only specifying the end position, similar 
> to Python's own range.



--
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