inferCalculatedColumnTypeFromExpression
Infer from the expression text: an aggregated
category (Aggregated / Cumulative / Quantile / Window) when it contains an
aggregation, Observable when it is per-row and contains an observable
brace call (CHANGE_COUNT{…}, ROW_AGE{}, …), otherwise Standard.
Runtime fallback when Type is absent.
TypeScript
inferCalculatedColumnTypeFromExpression: (expression: string | undefined | null) => CalculatedColumnType