You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: CTE table references now correctly modify AST for downstream resolution
The CTE implementation was storing an indirect but not modifying the
original AST node. This caused GetHIDs to still see a TableName type
instead of a Subquery type, resulting in "could not locate table" errors.
Fix: Modify the original node.Expr to be the CTE's Subquery instead of
creating a synthetic expression. This ensures downstream code correctly
recognizes the CTE reference as a subquery.
Also re-enables the CTE robot test.
0 commit comments