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

Add validation for attributes that may be null in S3 Metadata. #678

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

zongwei007
Copy link
Contributor

The ObjectMetadata#getStorageClass method and the ObjectMetadata#getETag method may both return null. In such cases, these attributes need to be ignored to prevent a NPE issue in ConnectSchemaMapper.

Check for nullable attributes to avoid NPE in ConnectSchemaMapper.
Copy link
Member

@fhussonnois fhussonnois left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you very much for that contribution 🙏

@fhussonnois fhussonnois merged commit b887f82 into streamthoughts:master Nov 14, 2024
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