histogram_null

Description

Creates a null value of type otelHistogram.

otelHistogram type is useful for storing OpenTelemetry explicit bucket histograms.

Return type

histogram

Domain

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

Categories

Usage

histogram_null()

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.