Skip to content

fix: fixed decode buffer size estimate for BinaryViewArray#23765

Open
liningpan wants to merge 1 commit into
apache:mainfrom
liningpan:fix/base64-binary-view-size-est
Open

fix: fixed decode buffer size estimate for BinaryViewArray#23765
liningpan wants to merge 1 commit into
apache:mainfrom
liningpan:fix/base64-binary-view-size-est

Conversation

@liningpan

Copy link
Copy Markdown

Which issue does this PR close?

Rationale for this change

Previously, output buffer size may be underestimated if the BinaryViewArray is significantly deduplicated.

What changes are included in this PR?

Estimate size by adding up the length of each view.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions Bot added the functions Changes to functions implementation label Jul 21, 2026
@liningpan

Copy link
Copy Markdown
Author

@andygrove Could you please take a look at this bug/PR? I see you are working on the same function in a couple other PRs.

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

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect size estimate for base64 decode buffer for BinaryView

1 participant