pub type CteResult = (TableSchema, Arc<Vec<Row>>);Expand description
CTE result: (schema, shared rows)
Uses Arc<Vec<Row>> to enable O(1) cloning when CTEs are:
- Propagated from outer queries to subqueries
- Referenced multiple times without filtering
This avoids deep-cloning all rows on every CTE reference.