Skip to content

[core] Add truncate bucket strategy #5716

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luoyuxia
Copy link
Contributor

@luoyuxia luoyuxia commented Jun 8, 2025

Purpose

Linked issue: close #3538

Introduce a truncate strategy to distribute data into bucket instead of always using hash.

Tests

Add the test in bucket releated code for truncate strategy to verify it works.

API and Format

Documentation

@luoyuxia luoyuxia marked this pull request as ready for review June 9, 2025 01:54
@JingsongLi
Copy link
Contributor

We should do an abstraction between this and #5445.

@luoyuxia
Copy link
Contributor Author

luoyuxia commented Jun 9, 2025

Thanks for that. Haven't been awared of this pr. Will have a syn with the author

@luoyuxia
Copy link
Contributor Author

luoyuxia commented Jun 9, 2025

After discussion with @Aitozi , I'll rebase after #5445 is merged. Thanks @Aitozi for the work.

@luoyuxia luoyuxia marked this pull request as draft June 9, 2025 09:35
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.

[Feature] Introduce mod bucket generator to paimon
2 participants