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

   ## Summary
   
   Make omitted `TableRead.read()` / `read_arrow()` split parallelism depend on 
the planned split count. Filtered reads without a limit use at most 64 split 
workers for descriptor reads and 32 for tables that may resolve BLOB payloads. 
Other reads use the available CPU parallelism. Explicit `parallelism` arguments 
retain their current behavior.
   
   The BLOB classification includes scalar and managed `ARRAY<BLOB>` / `MAP<*, 
BLOB>` fields and REST-resolved BLOB views. Core still applies its shared 
Parquet budget, total BLOB concurrency cap, and LIMIT handling.
   
   ## Motivation
   
   The Python binding currently defaults to one split worker. On the 8-vCPU Q3 
low-precision benchmark, a full-BLOB 16-clip read with the current API defaults 
(`split=1`, `blob=8`) took 5.291 s cold / 3.636 s warm, while explicit 
`split=32`, `blob=16` took 2.039 / 1.527 s. For 100 clips, the corresponding 
values were 22.862 / 20.322 s versus 8.669 / 8.019 s. These are three-seed 
medians from the same CI wheel and compare two parameter changes together; a 
separate factorial run is underway to attribute the gain before this PR is 
marked ready.
   
   The tested wheel is SHA-256 
`50cd284cb5d8d797af6da42fc64014f9d52ff4a9b6e6612a19aae7a89ad0d892`, built from 
main including #1478 plus the pending #1475 commits. Reads were unordered, CRC 
enabled, no batch-size override, and validated against an indexed Lance dataset.
   
   ## Validation
   
   - `cargo fmt --all --check`
   - `cargo check -p pypaimon_rust`
   - `cargo check -p pypaimon_rust --tests`
   - Added unit checks for split caps and nested managed BLOB classification.
   


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