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

   ### Purpose
   
   Add the standalone `ManifestSidecar` implementation and the complete 
version-1 format for independent partition, row-ID and bucket coverage over 
physical Avro manifest blocks. It includes bounded construction, validation, 
block selection, sequential reads of selected blocks, and optional caching of 
sidecar bytes and compressed blocks.
   
   Keep this PR limited to the new class, its tests and fixtures, and the 
format documentation. Settings are supplied explicitly, bucket matching uses a 
predicate, and block cache keys live inside the class. Existing table writers, 
scans, configuration definitions and cleanup paths are unchanged; automatic 
integration belongs in follow-up PRs.
   
   ### Tests
   
   - Golden format fixtures for all three payloads, conservative budget 
degradation, malformed input and independent filter short-circuiting.
   - Sidecar and block caches, overlapping selections, partial reads, 
truncation and I/O failures.
   - Build sidecars from real manifests and raw-block rewrites, then decode 
selected blocks using the existing Avro reader.
   
   Local Java 8 validation: 46 tests passed, with Checkstyle and Spotless 
checks enabled:
   
   ```text
   mvn -B -ntp -nsu -pl paimon-core -am -DwildcardSuites=none 
-DfailIfNoTests=false -Dflink.forkCount=2 
-Dtest=ManifestSidecarTest,ManifestBlockIndexTest test
   ```
   


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