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
{{ message }}
Repository navigation
Commit 5adf6a4
Browse filesBrowse the repository at this point in the historyBrowse files
fix: keep stub-named CTEs from capturing references and the layered benchmark compiling (#880)
* test: keep the layered production benchmark project compiling cleanly
The layered generator placed its contract schema in project-wide schemas/
although only the first staging model uses it (S024), and its seed-joined
models referenced id unqualified (B003). Place the schema beside its only
consumer, qualify input columns, and refresh the stale hook count in the
disabled layered performance guard. Add a small non-performance E2E compile
of the layered project so the generator cannot silently break again.
Refs: CHI-414
* fix: keep authored stub-named CTEs from capturing relation references
Compact analysis without a binding schema replaced relation references
with __sqlbuild_project_input_N stubs without checking the authored SQL,
so a CTE with that name (any case) captured the reference and analysis
inferred the CTE's shape instead of the input's. Share the binding-mode
sharing guard and fall back to real relation names when the stub prefix
appears in the SQL or a relation name.
Refs: CHI-412
0 commit comments