-
- Downloads
[SPARK-7150] SparkContext.range() and SQLContext.range()
This PR is based on #6081, thanks adrian-wang. Closes #6081 Author: Daoyuan Wang <daoyuan.wang@intel.com> Author: Davies Liu <davies@databricks.com> Closes #6230 from davies/range and squashes the following commits: d3ce5fe [Davies Liu] add tests 789eda5 [Davies Liu] add range() in Python 4590208 [Davies Liu] Merge commit 'refs/pull/6081/head' of github.com:apache/spark into range cbf5200 [Daoyuan Wang] let's add python support in a separate PR f45e3b2 [Daoyuan Wang] remove redundant toLong 617da76 [Daoyuan Wang] fix safe marge for corner cases 867c417 [Daoyuan Wang] fix 13dbe84 [Daoyuan Wang] update bd998ba [Daoyuan Wang] update comments d3a0c1b [Daoyuan Wang] add range api()
Showing
- core/src/main/scala/org/apache/spark/SparkContext.scala 72 additions, 0 deletionscore/src/main/scala/org/apache/spark/SparkContext.scala
- python/pyspark/context.py 16 additions, 0 deletionspython/pyspark/context.py
- python/pyspark/sql/context.py 20 additions, 0 deletionspython/pyspark/sql/context.py
- python/pyspark/sql/tests.py 5 additions, 0 deletionspython/pyspark/sql/tests.py
- python/pyspark/tests.py 5 additions, 0 deletionspython/pyspark/tests.py
- sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala 31 additions, 0 deletions...core/src/main/scala/org/apache/spark/sql/SQLContext.scala
- sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala 40 additions, 0 deletions.../src/test/scala/org/apache/spark/sql/DataFrameSuite.scala
Loading
Please register or sign in to comment