Search before asking
Paimon version
3.4
Compute Engine
Spark
Minimal reproduce step
Saving dataframe with append mode is correctly setting the primary key in the schema:

Schema:

But when I try to save dataframe with overwrite mode then primary key is NOT set in the schema:

Schema:

What doesn't meet your expectations?
Primary key in is NOT set in paimon table schema
Anything else?
No response
Are you willing to submit a PR?
Search before asking
Paimon version
3.4
Compute Engine
Spark
Minimal reproduce step
Saving dataframe with append mode is correctly setting the primary key in the schema:

Schema:

But when I try to save dataframe with overwrite mode then primary key is NOT set in the schema:

Schema:

What doesn't meet your expectations?
Primary key in is NOT set in paimon table schema
Anything else?
No response
Are you willing to submit a PR?