Skip to content
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

[hive] Support recreate the hive table #3084

Merged
merged 4 commits into from
Apr 8, 2024

Conversation

silentxingtian
Copy link
Contributor

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

public void checkTableSchema(TableSchema oldSchema, TableSchema newSchema) {
boolean isCommon =
oldSchema.version() == newSchema.version()
&& oldSchema.id() == newSchema.id()
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need to compare schema id and options.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, if there's no change in the entire logic, I'll remove the schema id and options

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

Can you add test for this?

@silentxingtian
Copy link
Contributor Author

Can you add test for this?

ok,I will write a test case code and submit it again

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi changed the title fix the bug #3083,support recreat the hive table [hive] Support recreate the hive table Apr 8, 2024
@JingsongLi JingsongLi merged commit aece744 into apache:master Apr 8, 2024
9 checks passed
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.

2 participants