Skip to content

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

Merged
vkorukanti merged 2 commits intodelta-io:branch-3.2from
linzhou-db:fix-size-3.2
Jul 30, 2024
Merged

[Sharing][3.2] Use bytes length for file size in DeltaSharingLogFileStatus#3433
vkorukanti merged 2 commits intodelta-io:branch-3.2from
linzhou-db:fix-size-3.2

Conversation

@linzhou-db
Copy link
Copy Markdown
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
Copy Markdown
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
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