File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1
1
# SQL Optimizer Labs
2
2
3
3
Build a SQL optimizer in 1000 lines of Rust using [ egg] ( https://egraphs-good.github.io ) .
4
+
5
+ 🚧 Under construction 🚧 Stay tuned 👀
6
+
7
+ ## Tasks
8
+
9
+ Fill the code in ` src ` and pass the tests in ` tests ` !
10
+
11
+ ``` sh
12
+ cargo test --test 1_language
13
+ cargo test --test 2_rewrite
14
+ cargo test --test 3_conditional_rewrite
15
+ cargo test --test 4_constant_folding
16
+ cargo test --test 5_sql_plan
17
+ cargo test --test 6_plan_elimination
18
+ cargo test --test 7_predicate_pushdown
19
+ cargo test --test 8_projection_pushdown
20
+ cargo test --test 9_agg_extraction
21
+ cargo test --test 10_index_resolving
22
+ ```
23
+
24
+ ## What's Next
25
+
26
+ These labs are taken from the [ RisingLight] project.
27
+ [ Check out] how it works in a real database system!
28
+
29
+ [ RisingLight ] : https://github.com/risinglightdb/risinglight
30
+ [ Check out ] : https://github.com/risinglightdb/risinglight/blob/main/src/planner/mod.rs
You can’t perform that action at this time.
0 commit comments