Skip to content

[SPARK-29753][SQL] refine the default catalog config - #26395

Closed
cloud-fan wants to merge 2 commits into
apache:masterfrom
cloud-fan:config
Closed

[SPARK-29753][SQL] refine the default catalog config#26395
cloud-fan wants to merge 2 commits into
apache:masterfrom
cloud-fan:config

Conversation

@cloud-fan

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

rename the config to address the comment: #24594 (comment)

improve the config description, provide a default value to simplify the code.

Why are the changes needed?

make the config more understandable.

Does this PR introduce any user-facing change?

no

How was this patch tested?

existing tests

@cloud-fan

Copy link
Copy Markdown
ContributorAuthor

@SparkQA

Copy link
Copy Markdown

Test build #113250 has finished for PR 26395 at commit 64f2d6e.

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

@SparkQA

Copy link
Copy Markdown

Test build #113269 has finished for PR 26395 at commit a628fed.

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

@imback82imback82 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM (one minor comment)

val DEFAULT_V2_CATALOG = buildConf("spark.sql.default.catalog")
.doc("Name of the default v2 catalog, used when a catalog is not identified in queries")
val DEFAULT_CATALOG = buildConf("spark.sql.defaultCatalog")
.doc("Name of the default catalog. This will be as the current catalog if users have not " +

@imback82imback82Nov 5, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This will be the current catalog or will be used/set as

@SparkQA

Copy link
Copy Markdown

Test build #113279 has finished for PR 26395 at commit 3bcdba9.

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

@cloud-fan

Copy link
Copy Markdown
ContributorAuthor

retest this please

@SparkQA

Copy link
Copy Markdown

Test build #113641 has started for PR 26395 at commit 3bcdba9.

@rdblue

Copy link
Copy Markdown
Contributor

+1

@cloud-fan

Copy link
Copy Markdown
ContributorAuthor

retest this please

@SparkQA

Copy link
Copy Markdown

Test build #113690 has finished for PR 26395 at commit 3bcdba9.

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

@cloud-fan

Copy link
Copy Markdown
ContributorAuthor

thanks for review, merging to master!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@cloud-fan@SparkQA@rdblue@imback82@dongjoon-hyun