Skip to main content

folded_chunk

Function folded_chunk 

Source
fn folded_chunk(aggregate: &str, error: DataFusionError) -> DataFusionError
Expand description

The rejection of a chunk that is not the layout this node folds.

The fold indexes its states by absolute grid position and by field, so a chunk of another field count or another grid would be folded into states that mean something else. error is what the series check reported, which says which of the two disagreed. Wraps the error of a chunk this node cannot fold.

Only a chunk that does not fit the schema is the node’s own refusal; anything else is the kernel saying it does not compute this shape at all – exporting native histogram state, for instance – and a caller that falls back to another planner on NotImplemented still can. Wrapping that one in an Execution would deny it.