Skip to content

[SPARK-14038][SQL] enable native view by default #11860

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

Closed
wants to merge 2 commits into from

Conversation

cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

As we have completed the SQLBuilder, we can safely use it to support native view.
This PR enables native view by default, and removes the old branch that implement native view by just wrapping the view string.

How was this patch tested?

existing tests.

@cloud-fan
Copy link
Contributor Author

cc @yhuai @liancheng

@SparkQA
Copy link

SparkQA commented Mar 21, 2016

Test build #53675 has finished for PR 11860 at commit e0fb318.

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

}

val viewSchema = {
val viewText = new SQLBuilder(logicalPlan, sqlContext).toSQL
Copy link
Contributor

Choose a reason for hiding this comment

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

How about catching exceptions thrown from toSQL and suggest the user to turn off native view and retry?

@liancheng
Copy link
Contributor

LGTM except for two minor comments.

@SparkQA
Copy link

SparkQA commented Mar 21, 2016

Test build #53679 has finished for PR 11860 at commit 43b4fe9.

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

@cloud-fan
Copy link
Contributor Author

closing in favor of a safer version: #11872

@cloud-fan cloud-fan closed this Mar 22, 2016
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