Skip to main content

export_input

Function export_input 

Source
pub fn export_input(node: &MatchRecognize) -> Result<LogicalPlan>
Expand description

Derive the input relation to use when exporting a matcher node.

This removes identity projections and generated windows used to prepare matching. Filters and other source operators remain in their current place. Custom producers must export this relation alongside the detail returned by encode_match_recognize_detail.

ยงErrors

Returns an error if the node has no retained source, source references cannot be recovered, or a rewrite interleaves row-changing operations with matcher preparation. Recomputing navigation across such a boundary can change rows.