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
Temp tables (#tmp) are now first-class citizens that can be referenced
within CTEs, just like regular tables or other CTEs. This enables:
- Filtering temp tables in CTEs with WHERE clauses
- Window functions (PARTITION BY, ROW_NUMBER) over temp tables
- Nested CTEs that reference temp tables
- Complex multi-stage transformations using temp tables
Implementation:
- Added execute_with_temp_tables() to QueryEngine
- Temp tables are merged into CTE context at query start
- Threaded TempTableRegistry through QueryExecutionService
- Updated non_interactive.rs to pass temp registry to service
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments