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-24598: handle null in trim function #3322

Merged
merged 1 commit into from
May 26, 2022

Conversation

soubhik-c
Copy link
Contributor

What changes were proposed in this pull request?

NULL is a special value in SQL and therefore trim function should return NULL instead of error out.

Why are the changes needed?

Argument object inspector now accommodates NULL value as VOID type.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Added ptest with additional cases.

Copy link
Contributor

@kasakrisz kasakrisz left a comment

Choose a reason for hiding this comment

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

pending tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants