You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Animesh Baranawal (JIRA)" <ji...@apache.org> on 2015/06/02 09:54:25 UTC

[jira] [Issue Comment Deleted] (SPARK-7980) Support SQLContext.range(end)

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org