Skip to main content

Crate samkhya_core

Crate samkhya_core 

Source
Expand description

samkhya-core — portable cardinality correction primitives.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use stats::ColumnStats;

Modules§

error
feedback
Feedback recorder — captures (plan, estimate, actual) triples to a SQLite sidecar so the residual correction model can learn from real engine behavior. Inspired by Bao / AutoSteer.
lpbound
Pessimistic upper-bound envelope for cardinality estimates.
puffin
Iceberg Puffin sidecar format — reader and writer.
residual
Residual correction model.
sketches
Cardinality and quantile sketches.
stats
Column-level statistics that samkhya-* adapters inject into native optimizers.