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

[Sharing][3.2] Use bytes length for file size in DeltaSharingLogFileStatus #3433

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

linzhou-db
Copy link
Collaborator

@linzhou-db linzhou-db commented Jul 27, 2024

Description

(cherry-pick e1dd541 to branch-3.2)

Use bytes length for file size in DeltaSharingLogFileStatus, to match the actual size of the bytes in SeekableByteArrayInputStream, this is to avoid the length difference caused by non utf-8 characters.

How was this patch tested?

Unit Test

@linzhou-db linzhou-db changed the title Use bytes length for file size in DeltaSharingLogFileStatus Use bytes length for file size in DeltaSharingLogFileStatus for 3.2 Jul 27, 2024
@vkorukanti vkorukanti changed the title Use bytes length for file size in DeltaSharingLogFileStatus for 3.2 [Sharing][3.2] Use bytes length for file size in DeltaSharingLogFileStatus Jul 30, 2024
@vkorukanti
Copy link
Collaborator

Test failure is due to #3302. We need it to be backported to branch-3.2

@vkorukanti vkorukanti merged commit 368296b into delta-io:branch-3.2 Jul 30, 2024
8 of 9 checks passed
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.

3 participants