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

   ### Purpose
   
   Global indexes are written with serializers derived from the build schema, 
while readers use the current table schema. After an indexed field type 
evolves, reusing an old index can miss matches, and counting that index in 
coverage can incorrectly skip the required data scan.
   
   This change records the build schema ID in global-index metadata and 
centrally compares the indexed fields' logical types before reader grouping and 
coverage calculation. Legacy metadata without a build schema ID fails closed, 
and the new field is preserved across builders, serializers, and row-ID 
reassignment.
   
   ### Tests
   
     - Core targeted tests: 150 passed
     - Checkstyle, Spotless, Enforcer, and Apache RAT
     - Flink, Spark, full-text, vector, and lumina test compilation
   


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