Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

We only need to make sub-query names unique every time we generate a SQL string, but not all the time. This PR moves the newSubqueryName method to class SQLBuilder and remove object SQLBuilder.

also addressed 2 minor comments in #11696

How was this patch tested?

existing tests.

@cloud-fan
Copy link
Contributor Author

cc @liancheng @yhuai

@liancheng
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53430 has finished for PR 11783 at commit e4edc0e.

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

@yhuai
Copy link
Contributor

yhuai commented Mar 17, 2016

test this please

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53436 has finished for PR 11783 at commit e4edc0e.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yhuai
Copy link
Contributor

yhuai commented Mar 17, 2016

test this please

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53448 has finished for PR 11783 at commit e4edc0e.

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

@cloud-fan
Copy link
Contributor Author

merging to master!

@asfgit asfgit closed this in 453455c Mar 18, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…while generate SQL

## What changes were proposed in this pull request?

We only need to make sub-query names unique every time we generate a SQL string, but not all the time. This PR moves the `newSubqueryName` method to `class SQLBuilder` and remove `object SQLBuilder`.

also addressed 2 minor comments in apache#11696

## How was this patch tested?

existing tests.

Author: Wenchen Fan <wenchen@databricks.com>

Closes apache#11783 from cloud-fan/tmp.
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.

4 participants