[SPARK-15970][SQL]: avoid warning message for hive metastore in In-memory ca…#13687
Closed
xwu0226 wants to merge 1 commit intoapache:masterfrom
Closed
[SPARK-15970][SQL]: avoid warning message for hive metastore in In-memory ca…#13687xwu0226 wants to merge 1 commit intoapache:masterfrom
xwu0226 wants to merge 1 commit intoapache:masterfrom
Conversation
|
Test build #60588 has finished for PR 13687 at commit
|
|
Test build #62726 has finished for PR 13687 at commit
|
|
Test build #69748 has finished for PR 13687 at commit
|
Member
|
@xwu0226 We did a major refactoring in the codes. Do we still face the same issue? If not, maybe we can close it? |
Contributor
Author
|
Let me rebase and code and try again . Will close it if we don't have any issue. Thanks! |
Contributor
Author
|
Closed since the hive refactoring code has resolve this issue by the way. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Issue:
Switch the catalog implementation mode to in-memory mode by adding
spark.sql.catalogImplementation in-memoryinspark-defaults.conf.Then, start spark-shell, which will be run using in-memory catalog.
Issue DDL command like
CREATE TABLE T1 (c1 INT, c2 INT) USING PARQUET PARTITIONED BY (c2). The table metadata will be created in in-memory catalog. However, a WARNING message dumped into the console says thatPersisting partitioned data source relation default.t1 into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.This kind of warning message is not applicable to In-Memory catalog mode.This PR is to skip checking whether the table can be created as hive compatible table or not when in-memory catalog mode is in use.
How was this patch tested?
A unit test case is added for in-memory catalog mode. And regtest buckets are run locally.