YannByron opened a new pull request, #1410:
URL: https://github.com/apache/paimon-rust/pull/1410

   ### Purpose
   
   Fixes #1409.
   
   A directly constructed `FileIO` silently ignores `local-cache.*` properties: 
the builder only attaches a cache that a caller has already created. As a 
result, `local-cache.enabled=true` does not enable caching on this path, and 
invalid enabled cache settings are also ignored.
   
   ### Brief change log
   
   - Create the existing local cache from builder properties when no cache was 
injected.
   - Keep caching disabled by default and preserve the precedence and sharing 
of an injected cache.
   - Verify configured metadata reuse across clones, write invalidation, 
mutable-hint and payload exclusions, and invalid configuration errors without 
depending on unrelated I/O changes.
   
   ### Tests
   
   - RED: the configured-cache reuse and invalid-option regressions fail 
against the original builder; the mutable-hint/payload guard passes.
   - GREEN: `cargo test --locked -p paimon --lib io::` — **214 passed**, 
including all three new regressions and existing cache/provider/invalidation 
tests (Rust 1.95.0).
   - `cargo fmt --all -- --check` and `git diff --check` pass.
   
   ### API and Format
   
   No API or storage-format change. Existing explicit cache options now take 
effect for direct `FileIOBuilder` callers; malformed enabled cache options 
return the existing configuration error.
   
   ### Documentation
   
   No new options. This fixes the application of existing options.
   


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