Rindle docs and package mapSkip to main content

table_tree

Function table_tree 

Source
pub fn table_tree(ast: &Ast) -> TableNode
Expand description

Derive the TableNode tree for ast. A pure function of the AST — it needs only table names (all present inline: the root ast.table, each subquery’s table), never the source schemas, so no resolve closure. Mirrors view_schema’s slot walk exactly (normalize the frame, take [query_local_slot_names], resolve each slot name to its subquery, recurse) but carries the table where the schema carries the alias.