Skip to content

feat: reuse typed prepared plans and reduce execution overhead - #383

Open
KKould wants to merge 13 commits into
mainfrom
feat/prepared-plan
Open

KKould wants to merge 13 commits into
mainfrom
feat/prepared-plan

refactor: borrow index range prefixes and value views

80be868
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 26, 2026 in 1s

93.07% (-0.11%) compared to 357cde1

View this Pull Request on Codecov

93.07% (-0.11%) compared to 357cde1

Details

Codecov Report

❌ Patch coverage is 93.62679% with 236 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.07%. Comparing base (357cde1) to head (80be868).

Files with missing lines Patch % Lines
src/expression/range_detacher.rs 89.96% 62 Missing ⚠️
src/planner/arena.rs 74.86% 45 Missing ⚠️
src/types/value.rs 83.61% 29 Missing ⚠️
src/db/prepared.rs 96.32% 16 Missing ⚠️
src/expression/evaluator.rs 91.97% 13 Missing ⚠️
src/expression/simplify.rs 83.67% 8 Missing ⚠️
.../optimizer/rule/normalization/combine_operators.rs 90.00% 8 Missing ⚠️
src/binder/parser.rs 95.28% 5 Missing ⚠️
src/function/lower.rs 58.33% 5 Missing ⚠️
src/function/upper.rs 58.33% 5 Missing ⚠️
... and 16 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
- Coverage   93.18%   93.07%   -0.11%     
==========================================
  Files         257      258       +1     
  Lines       45852    47587    +1735     
==========================================
+ Hits        42727    44292    +1565     
- Misses       3125     3295     +170     
Files with missing lines Coverage Δ
src/binder/aggregate.rs 97.68% <100.00%> (ø)
src/binder/alter_table.rs 100.00% <ø> (ø)
src/binder/analyze.rs 96.00% <ø> (ø)
src/binder/copy.rs 71.73% <ø> (ø)
src/binder/create_index.rs 90.47% <ø> (ø)
src/binder/create_table.rs 87.67% <ø> (ø)
src/binder/create_view.rs 100.00% <ø> (ø)
src/binder/delete.rs 100.00% <ø> (ø)
src/binder/describe.rs 100.00% <ø> (ø)
src/binder/distinct.rs 98.50% <100.00%> (ø)
... and 157 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.