Skip to content

Commit 2266935

Browse files
authored
refactor(query): split table context and extract reusable query components (#19739)
* refactor(query): split TableContext into traits * refactor(query): extract more TableContext traits * refactor(query): split spill and mutation table context * refactor(query): split query identity table context * refactor(query): split query profile table context * refactor(query): split stage and copy table context * refactor(query): split table management table context * refactor(query): split table access table context * refactor(query): split session table context * refactor(query): split authorization table context * refactor(query): split query state table context * refactor(query): split process info table context * refactor(query): split cluster table context * refactor(query): split remaining table context * refactor(query): refine table context split * refactor(query): consolidate table context capabilities * refactor(query): extract simple common components * refactor(query): expose table context components directly * refactor(query): move query context trait impls * refactor(catalog): consolidate table context traits * refactor(query): replace table context wildcard imports * refactor(component): use std sync locks * fix
1 parent 1995876 commit 2266935

397 files changed

Lines changed: 4703 additions & 3355 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ target/
2626
# profile
2727
flamegraph.*
2828
perf.*
29+
!perf.rs
2930

3031
# tests
3132
*.stderr

Cargo.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ databend-common-catalog = { path = "src/query/catalog" }
7373
databend-common-cloud-control = { path = "src/common/cloud_control" }
7474
databend-common-codegen = { path = "src/query/codegen" }
7575
databend-common-column = { path = "src/common/column" }
76+
databend-common-component = { path = "src/query/common/component" }
7677
databend-common-compress = { path = "src/common/compress" }
7778
databend-common-config = { path = "src/query/config" }
7879
databend-common-datavalues = { path = "src/query/datavalues" }

src/query/catalog/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ arrow-schema = { workspace = true }
1111
async-backtrace = { workspace = true }
1212
async-trait = { workspace = true }
1313
chrono = { workspace = true }
14-
dashmap = { workspace = true }
1514
databend-common-ast = { workspace = true }
1615
databend-common-base = { workspace = true }
16+
databend-common-component = { workspace = true }
1717
databend-common-config = { workspace = true }
1818
databend-common-exception = { workspace = true }
1919
databend-common-expression = { workspace = true }

0 commit comments

Comments
 (0)