Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This fixes a minor bug in literal validation. The contract of InternalRow is people should call isNullAt instead of relying on the get function to return null. InternalRow is an abstract class and it's not guaranteed that the get function can work for null field. This PR fixes the literal validation to check isNullAt before getting the field value.

Why are the changes needed?

Fix bugs for specific InternalRow implementations.

Does this PR introduce any user-facing change?

No

How was this patch tested?

new test

Was this patch authored or co-authored using generative AI tooling?

No

@cloud-fan
Copy link
Contributor Author

cc @MaxGekk

@github-actions github-actions bot added the SQL label Jan 9, 2024
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM.

@dongjoon-hyun
Copy link
Member

Merged to master. Thank you, @cloud-fan and all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants