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

[db-queries] Convert virtual provisioning CTE to use raw SQL #5089

Merged
merged 30 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
10ab943
kinda working?
smklein Feb 14, 2024
47bf04a
Removed old query
smklein Feb 14, 2024
1c74b04
better formatting
smklein Feb 14, 2024
25820cc
Fix tests
smklein Feb 14, 2024
cd9b548
Support for 'allcolumns'
smklein Feb 14, 2024
a756c26
Improve logging to help me debug
smklein Feb 14, 2024
1ec1c81
Add expectorate test
smklein Feb 14, 2024
b2bdaff
Spelling, stable EXPECTORATE tests
smklein Feb 14, 2024
31f697b
Better string validation visibility
smklein Feb 14, 2024
2060750
fmt
smklein Feb 14, 2024
291791d
Add test which is breaking in a more succinct way
smklein Feb 15, 2024
c868f71
arcane chicanery which bends the type system to our will
smklein Feb 15, 2024
d475ed8
Merge branch 'main' into raw-ctes
smklein Feb 15, 2024
e7c71d7
Auto-format SQL
smklein Feb 15, 2024
7f46a0a
Add EXPECTORATE tests for virtual_provisioning_collection CTE
smklein Feb 15, 2024
96983ec
Convert virtual provisioning CTE to use raw SQL
smklein Feb 16, 2024
3ea09da
Merge branch 'main' into raw-ctes
smklein Mar 26, 2024
c77a167
feedback
smklein Mar 26, 2024
e2817bb
Merge branch 'raw-ctes' into more-raw-cte-setup
smklein May 28, 2024
5762d4e
Merge branch 'more-raw-cte-setup' into convert-virtual-provisioning
smklein May 28, 2024
194cebf
Merge branch 'main' into raw-ctes
smklein May 28, 2024
10bb3c6
Merge branch 'raw-ctes' into more-raw-cte-setup
smklein May 28, 2024
b56a7c7
Merge branch 'more-raw-cte-setup' into convert-virtual-provisioning
smklein May 28, 2024
f2937a3
merging
smklein May 28, 2024
6dda946
Split tests
smklein May 29, 2024
e512ff1
Merge branch 'more-raw-cte-setup' into convert-virtual-provisioning
smklein May 29, 2024
7b7571e
Split up explain tests
smklein May 29, 2024
8e2964d
Merge branch 'main' into raw-ctes
smklein May 29, 2024
99f75b8
Merge branch 'raw-ctes' into more-raw-cte-setup
smklein May 29, 2024
30106d7
Merge branch 'more-raw-cte-setup' into convert-virtual-provisioning
smklein May 29, 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
1 change: 0 additions & 1 deletion nexus/db-model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ mod v2p_mapping;
mod deployment;
mod ipv4_nat_entry;
mod omicron_zone_config;
pub mod queries;
mod quota;
mod rack;
mod region;
Expand Down
7 changes: 0 additions & 7 deletions nexus/db-model/src/queries/mod.rs

This file was deleted.

This file was deleted.

84 changes: 0 additions & 84 deletions nexus/db-queries/src/db/alias.rs

This file was deleted.

1 change: 0 additions & 1 deletion nexus/db-queries/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

//! Facilities for working with the Omicron database

pub(crate) mod alias;
// This is not intended to be public, but this is necessary to use it from
// doctests
pub mod collection_attach;
Expand Down
Loading
Loading