Minor changes
- a6b4478
Type dataset and metric dimension values from
InferApiTypeAPIs as what serve actually returns. Numeric dimensions are nownumber | string | null, because the built-in ClickHouse adapter returnsInt64,UInt64and wider integers as JSON strings to keep their precision. Every dimension, andperiod, also includesnull, becauseNullablecolumns return SQL NULL. Types from generated clients already followed these rules.This is a breaking type change. Code that read a numeric dimension as
number, or any dimension without handlingnull, now fails to compile. Convert withNumber(value)orBigInt(value)as needed, and check fornull.