Member Junction
    Preparing search index...

    Per-column evidence gathered from the stream.

    interface DiscoveredColumnStat {
        DistinctCapped: boolean;
        DistinctNonNull: number;
        Inferred: InferredColumnType;
        Key: string;
        MaxObservedLength: number;
        Occurrences: number;
        SampleValues: unknown[];
        TotalRows: number;
    }
    Index

    Properties

    DistinctCapped: boolean

    True if the distinct-cap was hit → uniqueness NOT provable from this scan.

    DistinctNonNull: number

    Distinct non-null values seen (exact, up to the cap).

    Generously-bounded inferred type (both dialects), string width covering MaxObservedLength.

    Key: string
    MaxObservedLength: number

    TRUE maximum observed string length across EVERY scanned row (rsuplan "largest string" stat). Tracked separately from the capped SampleValues — the sample may miss the widest value, so string sizing must widen to this, not the sample max.

    Occurrences: number

    Rows where the key was present + non-null.

    SampleValues: unknown[]

    Bounded sample of observed values (for type inference).

    TotalRows: number

    Total rows scanned.