Skip to main content

Module view_merge_check

Module view_merge_check 

Source
Expand description

Plans a view definition’s merge exactly as the maintenance daemon would, without executing it Plans a view definition’s merge the way the maintenance daemon would – same session, same planning function – without executing it, to tell an author whether the merge keeps its streaming per-file k-way shape or silently falls back to buffering its whole input.

Structs§

MergeStreamingReport
The verdict of check_merge_streaming for one view set.

Functions§

check_merge_streaming
Returns None when the definition declares no merge_sort_order – its merge has no streaming shape to lose. Only merge queries over source are exact: other views a merge query references plan as empty scans here.