-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-9378] [SQL] Fixes test case "CTAS with serde" #7700
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
Conversation
|
Removed the "HOTFIX" tag, since this is actually not a newly introduced issue. Spark 1.4 behaves exactly the same. With a table created in Hive via: CREATE TABLE x STORED AS PARQUET AS SELECT 1 AS key;We have the following PySpark result in Spark 1.4: So I'm pretty puzzled why this test case only fails occasionally. A possible explanation is that, some test cases may set cc @viirya |
|
BTW, to the committer who's going to merge this PR, please attribute this PR to @viirya. |
|
@liancheng Thanks for investigating this. I think your explanation is reasonable. Actually, in the problematic test, we don't explicitly set or check the value of |
|
@viirya Actually I did find a test case that simply restores |
|
Test build #38566 has finished for PR 7700 at commit
|
|
I've merged this. |
|
@liancheng No problem. You already mentioned me in the PR description. Thanks. :-) |
This is a proper version of PR #7693 authored by @viirya
The reason why "CTAS with serde" fails is that the
MetastoreRelationgets converted to a Parquet data source relation by default.