Skip to main content

fused_output_schema

Function fused_output_schema 

Source
fn fused_output_schema(
    expression: &str,
    fields: &[String],
    tags: &[String],
    time_index: &str,
    field_kind: FieldKind,
) -> Result<DFSchemaRef>
Expand description

The columns a [FusedSeries] node produces: its time index, one column per value, then its tags.

A single value is named after the expression, and multiple values append their compiled field names to it, so a value is never published under a name the reader cannot address. The names inside the native tree are unchanged.

The layout itself is [segment::fused_output_schema]’s, which is where a segment asks for the same columns; this is that answer under this crate’s error type, which is what the planner’s own call sites report.