[jira] [Commented] (SPARK-7980) Support SQLContext.range(end)

2015-06-03 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570487#comment-14570487
 ] 

Apache Spark commented on SPARK-7980:
-

User 'animeshbaranawal' has created a pull request for this issue:
https://github.com/apache/spark/pull/6609

> 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



[jira] [Commented] (SPARK-7980) Support SQLContext.range(end)

2015-06-02 Thread Animesh Baranawal (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568722#comment-14568722
 ] 

Animesh Baranawal commented on SPARK-7980:
--

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 "", line 1, in 
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



[jira] [Commented] (SPARK-7980) Support SQLContext.range(end)

2015-06-02 Thread Animesh Baranawal (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568720#comment-14568720
 ] 

Animesh Baranawal commented on SPARK-7980:
--

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 "", line 1, in 
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



[jira] [Commented] (SPARK-7980) Support SQLContext.range(end)

2015-06-01 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567207#comment-14567207
 ] 

Apache Spark commented on SPARK-7980:
-

User 'animeshbaranawal' has created a pull request for this issue:
https://github.com/apache/spark/pull/6553

> 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



[jira] [Commented] (SPARK-7980) Support SQLContext.range(end)

2015-06-01 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567142#comment-14567142
 ] 

Apache Spark commented on SPARK-7980:
-

User 'animeshbaranawal' has created a pull request for this issue:
https://github.com/apache/spark/pull/6552

> 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