You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Rafferty97 (via GitHub)" <gi...@apache.org> on 2026/04/27 04:21:01 UTC
[PR] Fix #21864: Use the correct capacity value in `StringViewArrayBuilder::with_capacity` [datafusion]
Rafferty97 opened a new pull request, #21865:
URL: https://github.com/apache/datafusion/pull/21865
## Which issue does this PR close?
Closes #21864.
## Rationale for this change
Fixes a performance bug by reserving the correct amount of space when calling `StringViewBuilder::with_capacity`.
## What changes are included in this PR?
Single-line change to the body of `StringViewArrayBuilder::with_capacity`.
## Are these changes tested?
Yes.
## Are there any user-facing changes?
No.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Fix #21864: Use the correct capacity value in `StringViewArrayBuilder::with_capacity` [datafusion]
Posted by "Rafferty97 (via GitHub)" <gi...@apache.org>.
Rafferty97 commented on PR #21865:
URL: https://github.com/apache/datafusion/pull/21865#issuecomment-4324123647
Turns out this had already been fixed, and I was looking at an outdated copy of the codebase. My mistake.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Fix #21864: Use the correct capacity value in `StringViewArrayBuilder::with_capacity` [datafusion]
Posted by "Rafferty97 (via GitHub)" <gi...@apache.org>.
Rafferty97 closed pull request #21865: Fix #21864: Use the correct capacity value in `StringViewArrayBuilder::with_capacity`
URL: https://github.com/apache/datafusion/pull/21865
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org