Skip to main content

Module scan_hint

Module scan_hint 

Source

Structsยง

ScanHintRewriter ๐Ÿ”’
Traverse and apply hints with state scoped to the current logical-plan path.
ScanHintRule
This rule will traverse the plan to collect necessary hints for leaf table scan node and set them in ScanRequest. Hints include:

Functionsยง

single_evaluation_node_allowed ๐Ÿ”’
Returns whether a plan node can occur on the scan path of a controlled PromQL single evaluation without changing which row is newest per series.
single_evaluation_projection_expr_allowed ๐Ÿ”’
This whitelist assumes the planner preserves time-index and series identity; it is not a proof that an arbitrary plan does so.