Skip to main content

Module scan_cost

Module scan_cost 

Source
Expand description

Plan-time estimate of the parquet bytes a physical plan will scan

Structs§

ScanCostEstimate

Enums§

CostPrecision
How trustworthy an estimate is. Ordered best to worst, so the worst contributor is the max.

Functions§

estimate_scan_cost
Estimates the compressed parquet bytes plan will scan, from the scan nodes alone. Never fails: anything it cannot interpret is costed as an opaque leaf. Joins, aggregates and sorts add nothing; their memory is not predictable from the plan and the pool reservation stays the authority for it.