zhoulii opened a new issue, #11193: URL: https://github.com/apache/paimon/issues/11193
### Search before asking - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar. ### Motivation PyPaimon REST `create_table` sends the supplied schema directly to the server without checking the schema at the external `path`. Users cannot rely on client-side schema inference when registering an existing Paimon table, and conflicting definitions reach the server without client-side validation. ### Solution - Load the latest filesystem schema when the external Paimon table path already contains one. - Infer omitted fields and keys, and validate supplied fields, partition keys, primary keys, and options using Java's rules. - Register the existing schema while honoring user-provided `owner` and `path`, without modifying filesystem schema files. - Cover inferred, matching, and conflicting definitions; preserve Java behavior when no filesystem schema exists. ### Anything else? Aligns with Java support in [#6501](https://github.com/apache/paimon/pull/6501). ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
