Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cost model ORM implemenation #24

Merged
merged 28 commits into from
Nov 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
304a042
Add implementation for create_new_epoch
lanlou1554 Nov 7, 2024
99f36cf
implement get_stats methods
xx01cyx Nov 7, 2024
9f71c05
Initial draft of update_stat
lanlou1554 Nov 7, 2024
5dce3dd
Small optimization
lanlou1554 Nov 7, 2024
c05d664
Basic error handling
lanlou1554 Nov 7, 2024
3840673
Finish update_stats and store_expr_stats_mappings
lanlou1554 Nov 7, 2024
d05c493
Fix clippy
lanlou1554 Nov 7, 2024
6d1f82e
integrate w nullable columns
xx01cyx Nov 7, 2024
2d12016
Update test_create_new_epoch
lanlou1554 Nov 7, 2024
72a07d1
add: cost methods
unw9527 Nov 7, 2024
586c51f
add update_stats_from_catalog
lanlou1554 Nov 7, 2024
959610b
Add test_update_stats_from_catalog
lanlou1554 Nov 7, 2024
3cd2897
feat: enable unit test with every table intialized
unw9527 Nov 7, 2024
ea154e6
Fix clippy
lanlou1554 Nov 7, 2024
f56946c
fix description
xx01cyx Nov 7, 2024
8cc4f0e
Modify update_stat and add one related test
lanlou1554 Nov 8, 2024
6371d61
refine test infra and track init.db
xx01cyx Nov 8, 2024
fe891b0
add more initial data into stat-related tables
xx01cyx Nov 8, 2024
2956971
add new line at eof
xx01cyx Nov 8, 2024
6d70ad0
refine variant tag in init
xx01cyx Nov 8, 2024
a82d6c4
use json for stat type
xx01cyx Nov 8, 2024
4103607
add test_get_stats_for_table
xx01cyx Nov 8, 2024
7310fd2
minor fixes
xx01cyx Nov 8, 2024
3c22282
add test_get_stats_for_single_attr and test_get_stats_for_multiple_attrs
xx01cyx Nov 8, 2024
5ad0c7a
remove unused comments
xx01cyx Nov 8, 2024
1d12502
add: cost related tests
unw9527 Nov 8, 2024
6f97425
Fix update_stats and add all tests
lanlou1554 Nov 8, 2024
7a8d4df
Rebase on main
lanlou1554 Nov 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add new line at eof
xx01cyx authored and lanlou1554 committed Nov 9, 2024
commit 295697141bd0e3d05fd2041e0c1a24041d5659c6
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -11,4 +11,4 @@ target/

.DS_Store

optd-persistent/sql/
optd-persistent/sql/