Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-15232][SQL] Add subquery SQL building tests to LogicalPlanToSQLSuite #14383

Closed
wants to merge 4 commits into from
Closed

[SPARK-15232][SQL] Add subquery SQL building tests to LogicalPlanToSQLSuite #14383

wants to merge 4 commits into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jul 27, 2016

What changes were proposed in this pull request?

We currently test subquery SQL building using the HiveCompatibilitySuite. The is not desired since SQL building is actually a part of sql/core and because we are slowly reducing our dependency on Hive. This PR adds the same tests from the whitelist of HiveCompatibilitySuite into LogicalPlanToSQLSuite.

How was this patch tested?

This adds more testcases. Pass the Jenkins tests.

@dongjoon-hyun
Copy link
Member Author

cc @hvanhovell and @rxin

"mapjoin_subquery")
}

test("subq2") {
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a more descriptive name?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure. I actually just use the name from Hive suite for review.
I'll review this.

@SparkQA
Copy link

SparkQA commented Jul 27, 2016

Test build #62936 has finished for PR 14383 at commit 5b313fc.

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

@SparkQA
Copy link

SparkQA commented Jul 27, 2016

Test build #62938 has finished for PR 14383 at commit 7292435.

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

@SparkQA
Copy link

SparkQA commented Jul 27, 2016

Test build #62941 has finished for PR 14383 at commit 9a49580.

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

@SparkQA
Copy link

SparkQA commented Jul 27, 2016

Test build #62942 has finished for PR 14383 at commit d7d70e6.

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

@dongjoon-hyun
Copy link
Member Author

Hi, @rxin and @hvanhovell .
It's ready for review again.

@rxin
Copy link
Contributor

rxin commented Jul 28, 2016

Looks reasonable to me. Merging in master/2.0.

@asfgit asfgit closed this in 5c2ae79 Jul 28, 2016
asfgit pushed a commit that referenced this pull request Jul 28, 2016
…LSuite

## What changes were proposed in this pull request?

We currently test subquery SQL building using the `HiveCompatibilitySuite`. The is not desired since SQL building is actually a part of `sql/core` and because we are slowly reducing our dependency on Hive. This PR adds the same tests from the whitelist of `HiveCompatibilitySuite` into `LogicalPlanToSQLSuite`.

## How was this patch tested?

This adds more testcases. Pass the Jenkins tests.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #14383 from dongjoon-hyun/SPARK-15232.

(cherry picked from commit 5c2ae79)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@dongjoon-hyun
Copy link
Member Author

Thank you for review and merging, @rxin .

@dongjoon-hyun dongjoon-hyun deleted the SPARK-15232 branch August 14, 2016 09:45
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