Skip to main content

uniform_field_kind

Function uniform_field_kind 

Source
pub fn uniform_field_kind<'a>(
    kinds: impl IntoIterator<Item = Option<&'a DataType>>,
) -> Option<FieldKind>
Expand description

The FieldKind every referenced field of a scan carries, or None when they disagree or one is a type this route does not answer.

The route declares one output column per field, so a statement whose selectors carry different kinds has no column to declare them in and keeps the existing plan. Float64 and the canonical native histogram struct are the two kinds this route answers.