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

Add helper classes for deletion vector in Delta Lake #18269

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Jul 13, 2023

Description

Extracted from #17477

Release notes

(x) This is not user-visible or docs only and no release notes are required.

@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Jul 13, 2023
@cla-bot cla-bot bot added the cla-signed label Jul 13, 2023
@github-actions github-actions bot added the delta-lake Delta Lake connector label Jul 13, 2023
@ebyhr ebyhr requested review from findepi and alexjo2144 July 13, 2023 09:34
@ebyhr
Copy link
Member Author

ebyhr commented Jul 18, 2023

@alexjo2144 Could you please review this PR?

@ebyhr ebyhr self-assigned this Jul 21, 2023

// This implements Base85 using the 4 byte block aligned encoding and character set from Z85 https://rfc.zeromq.org/spec/32
// Delta Lake implementation is https://github.com/delta-io/delta/blob/master/kernel/kernel-api/src/main/java/io/delta/kernel/internal/deletionvectors/Base85Codec.java
public final class Base85Codec
Copy link
Member Author

@ebyhr ebyhr Jul 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could replace this class with https://github.com/delta-io/delta/blob/master/kernel/kernel-api/src/main/java/io/delta/kernel/internal/deletionvectors/Base85Codec.java of delta-kernel-api module. The module works well as far as I tried locally. However, even the latest version is still release-candidates.

@ebyhr ebyhr force-pushed the ebi/delta-base85 branch from 37c1d70 to 5e16100 Compare July 31, 2023 09:28
@ebyhr ebyhr force-pushed the ebi/delta-base85 branch from cb9774e to 151ca72 Compare August 1, 2023 21:53
@ebyhr ebyhr merged commit d59d8aa into trinodb:master Aug 2, 2023
@ebyhr ebyhr deleted the ebi/delta-base85 branch August 2, 2023 01:33
@github-actions github-actions bot added this to the 423 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed delta-lake Delta Lake connector no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

2 participants