Provider trait for computing column statistics from external sources (e.g., Parquet files). Implement this in modules that add support for new sources.
Compute statistics for a single numeric column in a source file. Returns None if the column is non-numeric or does not exist. For sources with metadata, may return eager or lazy statistics.
Compute statistics for a single numeric column in a source file. Returns None if the column is non-numeric or does not exist. For sources with metadata, may return eager or lazy statistics.
Value parameters
columnName
the name of the column to analyze.
path
the path to the source file.
useMetadataOnly
if true, only use metadata (no row scan); if false, allow lazy fallback.
Attributes
Returns
an optional Column with statistics (eager or lazy).