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]Use bytes length for file size in DeltaSharingLogFileStatus #3432

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

linzhou-db
Copy link
Collaborator

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (Delta Sharing)

Description

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

Does this PR introduce any user-facing changes?

No

@vkorukanti vkorukanti changed the title Use bytes length for file size in DeltaSharingLogFileStatus [Sharing]Use bytes length for file size in DeltaSharingLogFileStatus Jul 29, 2024
@vkorukanti vkorukanti merged commit e1dd541 into delta-io:master Jul 29, 2024
10 checks passed
EstherBear pushed a commit to EstherBear/delta that referenced this pull request Jul 31, 2024
…delta-io#3432)

## Description
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
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