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-28703: Integral Data Type Overflow Not Enforced for JsonSerDe and UDFs #5608

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

armitage420
Copy link
Contributor

What changes were proposed in this pull request?

The pull request addresses the issue of data type overflow not being enforced when using JsonSerDe in Apache Hive. The proposed changes aim to ensure strict data type validation during the insertion and loading of data into tables defined with types like TINYINT, SMALLINT, INT, and BIGINT.

Why are the changes needed?

This behavior can lead to data integrity issues and unexpected results.

Does this PR introduce any user-facing change?

Yes

Is the change a dependency upgrade?

No

How was this patch tested?

Tests introduced in this PR and local machine

@armitage420 armitage420 changed the title HIVE-28703: Integral Data Type Overflow Not Enforced for JsonSerDe and UDFs [WIP]HIVE-28703: Integral Data Type Overflow Not Enforced for JsonSerDe and UDFs Jan 12, 2025
@armitage420 armitage420 changed the title [WIP]HIVE-28703: Integral Data Type Overflow Not Enforced for JsonSerDe and UDFs HIVE-28703: Integral Data Type Overflow Not Enforced for JsonSerDe and UDFs Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants