You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "wangzhigang1999 (via GitHub)" <gi...@apache.org> on 2026/09/09 09:49:09 UTC

[I] [Feature] Remove duplicate BLOB validation during Python table creation [paimon]

wangzhigang1999 opened a new issue, #9703:
URL: https://github.com/apache/paimon/issues/9703

   ### Search before asking
   
   - [x] I searched in the issues and found nothing similar.
   
   ### Motivation
   
   In PyPaimon, `SchemaManager.create_table()` calls `_validate_blob_fields()` and then calls `commit()`, which runs the same validation again before writing the schema. `TableSchema.from_schema()` preserves the fields, options, primary keys, and partition keys used by the validator, so successful table creation validates the same configuration twice.
   
   ### Solution
   
   Remove the `_validate_blob_fields()` call from `create_table()` and retain the call in `commit()`. This keeps validation before schema persistence for table creation, schema changes, and direct commits while avoiding the redundant validation pass.
   
   ### Anything else?
   
   This is a small code cleanup. If both general options and BLOB settings are invalid, `_validate_options()` will report its error first after this change.
   
   ### 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: issues-unsubscribe@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature] Remove duplicate BLOB validation during Python table creation [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #9703: [Feature] Remove duplicate BLOB validation during Python table creation
URL: https://github.com/apache/paimon/issues/9703


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org