histogram_null

histogram_null() -> histogram

Creates a null value of type otelHistogram.

otelHistogram type is useful for storing OpenTelemetry explicit bucket histograms.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col h:case(type="OTEL Histogram", x, true, histogram_null())

Create a column 'h' containing the value from column x when the value of type equals "OTEL Histogram", else containing a null histogram.