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

   ### Purpose
   
   Both Arrow APIs currently resolve an omitted `blob_parallelism` to Python's 
default of 1 before calling the native reader. This overrides Rust's own 
default of 8, leaving per-split BLOB range reads serial even when native 
execution is selected.
   
   Preserve the omitted value for native execution, allowing Core to apply its 
existing default and combined concurrency cap. Explicit overrides still take 
precedence. Python reads and native preparation fallback retain their default 
of 1, and row-by-row iteration is unchanged. This changes the default native 
I/O concurrency, not query results or the public method signatures.
   
   Related to #11269, which proposes a fixed default of 16 for both backends. 
This PR is an alternative policy: keep backend-owned defaults instead of 
introducing a shared Python-side value. The two default policies should not be 
merged independently without reconciling them. This PR does not depend on the 
separate Rust independent-file scheduling optimization.
   
   Applied and tested on master `0f25b7cd8d33b62ea8848d6379c46a906c374603` 
without textual conflicts. No standalone speedup is claimed here.
   
   ### Tests
   
   - Native dispatch, parallel reader and deferred BLOB resolution: **173 
passed**.
   - Actual Rust BLOB read/write integration with installed `pypaimon-rust 
0.5.0`: **71 passed**, including both Arrow APIs, default/explicit concurrency, 
repeated real splits, and filtered HTTP BLOB reads with LIMIT.
   - The two new default-forwarding regression tests fail against unmodified 
master and pass with this change.
   - Explicit serial reads, Python preparation fallback, invalid values, empty 
splits, and row iteration are covered.
   - Changed Python files pass the repository flake8 configuration; `git diff 
--check` passes.
   


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