Skip to content

2.3.0

Choose a tag to compare

@stevehansen stevehansen released this 26 Feb 10:51
· 32 commits to main since this release
50a4acf

Bug fix

  • Fix column alias loss during derived table flattening — When a view was flattened inside a GROUP BY query, column references like v.CompanyId were rewritten to their inner expression (e.g., Companies_1.Id), silently changing the inferred column name from CompanyId to Id. Outer queries referencing the original name (e.g., cl.CompanyId) would then fail with "Invalid column name". The fix snapshots inferred SELECT column names before rewriting and restores them as explicit AS aliases when the last identifier changes.