LuciferYang opened a new pull request, #10219:
URL: https://github.com/apache/paimon/pull/10219

   ### Purpose
   
   A row-tracking data-evolution table that mixes a BLOB column and a VECTOR 
column with no other columns passed schema validation. The BLOB and VECTOR 
checks each required "other normal columns" but only counted their own 
dedicated kind, so each treated the other's column as normal and both passed. 
Such a table has no normal-file column to anchor first-row-id assignment, and 
every commit then fails with "This is a bug, blobStart ... should be less than 
start".
   
   This adds a combined check: once any dedicated (BLOB or VECTOR) column 
exists, at least one column must be stored in neither dedicated kind, rejecting 
the schema up front instead of at commit time.
   
   ### Tests
   
   Added `SchemaValidationTest.testAllDedicatedColumnsSchemaValidation`, which 
pins that a data-evolution schema with only a BLOB and a VECTOR column is 
rejected at validation with "Table with BLOB or VECTOR type column must have 
other normal columns."
   
   ### API and Format
   
   No.
   
   ### Documentation
   
   No.
   


-- 
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]

Reply via email to