Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Oct 28, 2018

What changes were proposed in this pull request?

This patch removes the rangeBetween functions introduced in SPARK-21608. As explained in SPARK-25841, these functions are confusing and don't quite work. We will redesign them and introduce better ones in SPARK-25843.

How was this patch tested?

Removed relevant test cases as well. These test cases will need to be added back in SPARK-25843.

@SparkQA
Copy link

SparkQA commented Oct 28, 2018

Test build #98173 has finished for PR 22870 at commit 00b0c6c.

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

(lower, upper) match {
case (l: Expression, u: Expression) if !isValidFrameBoundary(l, u) =>
TypeCheckFailure(s"Window frame upper bound '$upper' does not followes the lower bound " +
TypeCheckFailure(s"Window frame upper bound '$upper' does not follow the lower bound " +
Copy link
Member

@gatorsmile gatorsmile Oct 29, 2018

Choose a reason for hiding this comment

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

We need to generate the result file for org.apache.spark.sql.SQLQueryTestSuite

@SparkQA
Copy link

SparkQA commented Oct 29, 2018

Test build #98180 has finished for PR 22870 at commit 23d31bb.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Oct 29, 2018

Test build #98184 has finished for PR 22870 at commit 23d31bb.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@viirya
Copy link
Member

viirya commented Oct 29, 2018

retest this please.

@SparkQA
Copy link

SparkQA commented Oct 29, 2018

Test build #98191 has finished for PR 22870 at commit 23d31bb.

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

@gatorsmile
Copy link
Member

LGTM Thanks! Merged to master.

@asfgit asfgit closed this in 9cf9a83 Oct 31, 2018
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
This patch removes the rangeBetween functions introduced in SPARK-21608. As explained in SPARK-25841, these functions are confusing and don't quite work. We will redesign them and introduce better ones in SPARK-25843.

## How was this patch tested?
Removed relevant test cases as well. These test cases will need to be added back in SPARK-25843.

Closes apache#22870 from rxin/SPARK-25862.

Lead-authored-by: Reynold Xin <rxin@databricks.com>
Co-authored-by: hyukjinkwon <gurwls223@apache.org>
Signed-off-by: gatorsmile <gatorsmile@gmail.com>
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.

5 participants