Skip to main content

Module spec

Module spec 

Source
Expand description

Config types for the top-level profiling: block (#708).

Structs§

ProfilingSpec
Learned column profiles with drift detection. Every run profiles the records it wrote (null rate, distinct count, min / max / mean, string length, type mix, top values) into a bounded-memory sketch, compares the result against a rolling baseline of earlier successful runs, and reports statistically significant changes per column — no thresholds to write.

Enums§

OnProfileDrift
The action taken when a column’s profile drifts from its baseline.

Constants§

DEFAULT_CATEGORICAL_MAX_DISTINCT
Default distinct-count ceiling above which a column is treated as high-cardinality (no top values are published for it).
DEFAULT_MAX_COLUMNS
Default cap on profiled columns per dataset.
DEFAULT_MIN_HISTORY
Default number of baseline runs required before drift detection fires.
DEFAULT_NEW_VALUE_MIN_SHARE
Default minimum share a previously unseen categorical value must reach before it is reported as a new value.
DEFAULT_PSI_THRESHOLD
Default population-stability-index threshold for categorical drift.
DEFAULT_TOP_VALUES
Default number of most-frequent values kept per categorical column.
DEFAULT_WINDOW
Default rolling-window size (successful runs kept as the baseline).
MAX_MAX_COLUMNS
Hard ceiling on max_columns (bounds per-run memory).
MAX_TOP_VALUES
Hard ceiling on top_values (bounds the per-column sketch).