XiaoHongbo-Hope opened a new pull request, #11035:
URL: https://github.com/apache/paimon/pull/11035

   ### Purpose
   
   `VideoFrameCollator` opens the persisted keyframe index before invoking a 
decoder factory, even when a custom decoder uses only the video's native 
container index. This performs an unnecessary remote read for each newly opened 
payload.
   
   Defer opening the optional index until the decoder accesses 
`stream.video_keyframe_index`. Preserve the existing attribute and concrete 
index type for indexed readers. The stream owns the index lifetime; eviction, 
close and failed decoder initialization do not load an unused index or retry a 
failed open. No file-format or configuration change.
   
   ### Tests
   
   - Added coverage for zero index reads across decode/eviction/close when 
unused, a single open when accessed repeatedly, and cleanup after an index-read 
failure.
   - Related video/collator/LeRobot/TorchCodec suites: **116 passed, 63 
skipped, 1 deselected** in the local optional-dependency environment.
   - The deselected 
`test_video_batches_include_delta_frames_and_preserve_backends` also fails 
unchanged on base `b000c3945f`: expected one combined call `[3,4,5]`, observed 
two calls `[3,4]` and `[4,5]`.
   - Flake8 with the repository configuration and `git diff --check` pass.
   


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