Closed kevinzwang closed 2 days ago
Comparing kevin/correlated-subqueries
(17f815a) with main
(1b84250)
❌ 1
regressions
✅ 16
untouched benchmarks
:warning: Please fix the performance issues or acknowledge them on CodSpeed.
Benchmark | main |
kevin/correlated-subqueries |
Change | |
---|---|---|---|---|
❌ | test_iter_rows_first_row[100 Small Files] |
312.1 ms | 392 ms | -20.38% |
I think I broke sql_expr, will try to fix that tomorrow
Attention: Patch coverage is 78.26087%
with 35 lines
in your changes missing coverage. Please review.
Project coverage is 77.42%. Comparing base (
84db665
) to head (79d8b03
). Report is 10 commits behind head on main.
🚨 Try these New Features:
This PR adds support for converting SQL queries with correlated subqueries into LogicalPlans. It does not add the ability to execute queries with correlated subqueries, but if I am correct, this is the last large piece of support we need on the SQL side for TPC-H questions, and most of the remaining work is plan rewriting, optimization, and translation.
I believe with the new
alias_map
value inSQLPlanner
, we can actually simplify a lot of the logic inplan_aggregate_query
andplan_non_agg_query
but I will not attempt to do that in this PR.Relevant for TPC-H questions 4, 17, 20, 21, 22.
Todo: