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] Improve Paimon Spec #3704

Open
1 of 2 tasks
Xuanwo opened this issue Jul 8, 2024 · 1 comment
Open
1 of 2 tasks

[Feature] Improve Paimon Spec #3704

Xuanwo opened this issue Jul 8, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Jul 8, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

I'm working on paimon-rust now. I found paimon's specifications to be neither accurate nor detailed.

Take Schema as an example, the current spec only have:

The version of the schema file starts from 0 and currently retains all versions of the schema. There may be old files that rely on the old schema version, so its deletion should be done with caution.

Schema File is JSON, it includes:

fields: data field list, data field contains id, name, type, field id is used to support schema evolution.
partitionKeys: partition definition of the table, it cannot be modified.
primaryKeys: primary key definition of the table, it cannot be modified.
options: options of the table, including a lot of capabilities and optimizations.

I will have the following questions:

  • What's the detailed json format of Schema?
  • What's field?
  • What's partition definition?
  • What's primary key definition?
  • How options is stored? What's it key/value type? Should it be ordered?

Solution

Please provide more detailed specifications for Paimon, possibly including pseudocode examples.

Anything else?

None

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@Xuanwo Xuanwo added the enhancement New feature or request label Jul 8, 2024
@JingsongLi JingsongLi self-assigned this Jul 9, 2024
@JingsongLi
Copy link
Contributor

I will do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants