Skip to main content

validate_plain_output_schema

Function validate_plain_output_schema 

Source
fn validate_plain_output_schema(
    schema: &SchemaRef,
    tree: &NativeTree,
    tags: &[String],
    time: &str,
    promql: &str,
) -> Result<()>
Expand description

Validates a decoded plain-row node’s schema against the tree that produces it.

A deserialized node carries its own output schema, so this is where a payload that names columns the tree cannot produce is refused, before the node runs.