Skip to content

Conversation

chenghao-intel
Copy link
Contributor

What changes were proposed in this pull request?

https://issues.apache.org/jira/browse/SPARK-13894
Change the return type of the SQLContext.range API from DataFrame to Dataset.

How was this patch tested?

No additional unit test required.

@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53195 has finished for PR 11730 at commit b520eb5.

  • This patch fails RAT tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 15, 2016

Test build #53199 has finished for PR 11730 at commit eb1bb0d.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

def range(start: Long, end: Long, step: Long, numPartitions: Int): DataFrame = {
Dataset.newDataFrame(this, Range(start, end, step, numPartitions))
def range(start: Long, end: Long, step: Long, numPartitions: Int): Dataset[Long] = {
import this.implicits._
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed?

@SparkQA
Copy link

SparkQA commented Mar 16, 2016

Test build #53259 has finished for PR 11730 at commit 49e04eb.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 16, 2016

Test build #53266 has finished for PR 11730 at commit 31967ac.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Mar 16, 2016

Test build #53305 has finished for PR 11730 at commit bb65ec2.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Mar 16, 2016

Thanks - merging in master.

@asfgit asfgit closed this in d9670f8 Mar 16, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…aSet

## What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/SPARK-13894
Change the return type of the `SQLContext.range` API from `DataFrame` to `Dataset`.

## How was this patch tested?
No additional unit test required.

Author: Cheng Hao <hao.cheng@intel.com>

Closes apache#11730 from chenghao-intel/range.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants