Function
paimon_plan_num_splits
(plan: *const paimon_plan)
Source from the content-addressed store, hash-verified
| 332 | /// `plan` must be a valid pointer from `paimon_table_scan_plan`, or null (returns 0). |
| 333 | #[no_mangle] |
| 334 | pub unsafe extern "C" fn paimon_plan_num_splits(plan: *const paimon_plan) -> usize { |
| 335 | if plan.is_null() { |
| 336 | return 0; |
| 337 | } |
| 338 | let plan_ref = &*((*plan).inner as *const Plan); |
| 339 | plan_ref.splits().len() |
| 340 | } |
| 341 | |
| 342 | // ======================= TableRead =============================== |
| 343 | |
Callers
nothing calls this directly
Tested by
no test coverage detected