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

[#462] fix(hive): validate non-null column type in Hive catalog #507

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

mchades
Copy link
Contributor

@mchades mchades commented Oct 13, 2023

What changes were proposed in this pull request?

Throw an exception when encountering a non-nullable column type in Hive catalog

Why are the changes needed?

Currently, we only support Hive 2.x for Hive catalog, but 'NOT NULL' column constraint was supported since Hive3.0

Fix: #462

Does this PR introduce any user-facing change?

no

How was this patch tested?

UTs added

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

Code Coverage Report

Overall Project 62.04% 🟢
Files changed 100% 🟢

Module Coverage
catalog-hive 64.93% 🟢
Files
Module File Coverage
catalog-hive HiveCatalogOperations.java 68.98% 🟢

@jerryshao jerryshao merged commit 0383170 into apache:main Oct 13, 2023
2 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.

[Bug report] Altering a column from nullable to required fails to change column
3 participants