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

Fix vector.Builder empty record handling #5579

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

nwt
Copy link
Member

@nwt nwt commented Jan 16, 2025

recordBuilder.Build panics with empty records because len(recordBuilder.values)==0. Fix by tracking vector length explicitly.

recordBuilder.Build panics with empty records because
len(recordBuilder.values)==0.  Fix by tracking vector length explicitly.
@nwt nwt requested a review from a team January 16, 2025 22:28
@nwt nwt merged commit 3eea13c into main Jan 17, 2025
3 checks passed
@nwt nwt deleted the vector-builder-empty-record branch January 17, 2025 19:00
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