-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-27946][SQL][FOLLOW-UP] Change doc and error message for SHOW CREATE TABLE #27505
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
|
cc @gatorsmile |
|
Test build #118089 has finished for PR 27505 at commit
|
|
retest this please |
|
Test build #118092 has finished for PR 27505 at commit
|
| tableMetadata.unsupportedFeatures.map(" - " + _).mkString("\n") | ||
| tableMetadata.unsupportedFeatures.map(" - " + _).mkString("\n") + ". " + | ||
| s"Please use `SHOW CREATE TABLE ${tableMetadata.identifier} AS SERDE` " + | ||
| "to show Hive DDL instead." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any test for this error case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, test case hive partitioned view is not supported in HiveShowCreateTableSuite is for this error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see. Thanks.
|
I'm going to merge this to master and branch-3.0. |
…REATE TABLE ### What changes were proposed in this pull request? This is a follow-up for #24938 to tweak error message and migration doc. ### Why are the changes needed? Making user know workaround if SHOW CREATE TABLE doesn't work for some Hive tables. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Existing unit tests. Closes #27505 from viirya/SPARK-27946-followup. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: Liang-Chi Hsieh <[email protected]> (cherry picked from commit acfdb46) Signed-off-by: Liang-Chi Hsieh <[email protected]>
…REATE TABLE ### What changes were proposed in this pull request? This is a follow-up for apache#24938 to tweak error message and migration doc. ### Why are the changes needed? Making user know workaround if SHOW CREATE TABLE doesn't work for some Hive tables. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Existing unit tests. Closes apache#27505 from viirya/SPARK-27946-followup. Authored-by: Liang-Chi Hsieh <[email protected]> Signed-off-by: Liang-Chi Hsieh <[email protected]>
What changes were proposed in this pull request?
This is a follow-up for #24938 to tweak error message and migration doc.
Why are the changes needed?
Making user know workaround if SHOW CREATE TABLE doesn't work for some Hive tables.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing unit tests.