Commit 359e28a
Cost model ORM implemenation (#24)
* Add implementation for create_new_epoch
* implement get_stats methods
* Initial draft of update_stat
* Small optimization
* Basic error handling
* Finish update_stats and store_expr_stats_mappings
* Fix clippy
* integrate w nullable columns
* Update test_create_new_epoch
* add: cost methods
* add update_stats_from_catalog
* Add test_update_stats_from_catalog
* feat: enable unit test with every table intialized
* Fix clippy
* fix description
* Modify update_stat and add one related test
* refine test infra and track init.db
* add more initial data into stat-related tables
* add new line at eof
* refine variant tag in init
* use json for stat type
* add test_get_stats_for_table
* minor fixes
* add test_get_stats_for_single_attr and test_get_stats_for_multiple_attrs
* remove unused comments
* add: cost related tests
* Fix update_stats and add all tests
* Rebase on main
---------
Co-authored-by: Lan Lou <[email protected]>
Co-authored-by: Yuanxin Cao <[email protected]>1 parent 331cc12 commit 359e28a
File tree
35 files changed
+1737
-144
lines changed- optd-persistent
- src
- bin
- cost_model
- catalog
- db
- entities
- migrator
- catalog
- cost_model
- schema
35 files changed
+1737
-144
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
0 commit comments