Skip to content

Conversation

@viirya
Copy link
Member

@viirya viirya commented Feb 9, 2020

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.

@viirya
Copy link
Member Author

viirya commented Feb 9, 2020

cc @gatorsmile

@SparkQA
Copy link

SparkQA commented Feb 9, 2020

Test build #118089 has finished for PR 27505 at commit e5f496e.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@viirya
Copy link
Member Author

viirya commented Feb 9, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Feb 9, 2020

Test build #118092 has finished for PR 27505 at commit e5f496e.

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

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."
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I see. Thanks.

@viirya
Copy link
Member Author

viirya commented Feb 10, 2020

I'm going to merge this to master and branch-3.0.

@viirya viirya closed this in acfdb46 Feb 10, 2020
viirya added a commit that referenced this pull request Feb 10, 2020
…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]>
sjincho pushed a commit to sjincho/spark that referenced this pull request Apr 15, 2020
…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]>
@viirya viirya deleted the SPARK-27946-followup branch December 27, 2023 18:38
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