QuakeWang opened a new pull request, #8924:
URL: https://github.com/apache/paimon/pull/8924
### Purpose
`GlobalIndexResultSerializer` inferred the result type from the score count.
Empty scored and unscored results both have zero scores, so round trips and
copies lost the `ScoredGlobalIndexResult` type.
Introduce serialization version 2 with an explicit result kind, retain
version 1 read compatibility, and add regression coverage for empty scored
results and legacy payloads.
### Tests
- `GlobalIndexSerDeUtilsTest`
- `SparkDataEvolutionVectorReadTest`
- `FlinkDataEvolutionVectorReadTest`
--
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]