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

[Feature] Support multiple partitioned fields for partitioned table #195

Open
1 of 2 tasks
wuchong opened this issue Dec 16, 2024 · 0 comments
Open
1 of 2 tasks

[Feature] Support multiple partitioned fields for partitioned table #195

wuchong opened this issue Dec 16, 2024 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@wuchong
Copy link
Member

wuchong commented Dec 16, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, the Fluss repository supports partitioned tables with a single partitioned field. This feature request proposes extending this capability to support multiple partitioned fields. Supporting multiple partitioned fields would allow for more flexible and efficient data partitioning, enhancing query performance and data management in real-time analytics use cases.

Use-case:

Consider a scenario where a user needs to partition their data by both region and date fields. With the current single partitioned field support, the user may need to create complex and less efficient workarounds to achieve the desired partitioning. By supporting multiple partitioned fields, users can directly partition their tables by both region and date, simplifying their data organization and improving query performance (only read specific region data by partitioning pushdown).

Solution

  • Extend the current partitioning logic to handle a list of partitioned fields.
  • Update the table creation syntax to allow specifying multiple partitioned fields.
  • Modify the storage and indexing mechanisms to support multiple partitions.
  • Ensure backward compatibility with existing tables that use a single partitioned field.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!
@wuchong wuchong added the feature New feature or request label Dec 16, 2024
@wuchong wuchong added this to the v0.6 milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant