Skip to content

Commit 958b862

Browse files
zhyassBohuTANG
andauthored
feat: enable block stream write (#18285)
* improve stream write * fix virtual column builder * add block statistics * remove null in bloom index builder * use metahll * avoid large string * fix * use segment level stats * add test * remove unused code * fix review comment * fix test --------- Co-authored-by: Bohu <[email protected]>
1 parent b76bef0 commit 958b862

File tree

107 files changed

+2944
-657
lines changed

Some content is hidden

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

107 files changed

+2944
-657
lines changed

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/storage/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ edition = { workspace = true }
1010
storage-hdfs = ["databend-common-meta-app/storage-hdfs"]
1111

1212
[dependencies]
13+
ahash = { workspace = true }
1314
anyhow = { workspace = true }
1415
arrow-schema = { workspace = true }
1516
async-backtrace = { workspace = true }
17+
borsh = { workspace = true }
1618
chrono = { workspace = true }
1719
dashmap = { workspace = true, features = ["serde"] }
1820
databend-common-ast = { workspace = true }

src/common/storage/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub use stage::STDIN_FD;
7171
mod copy;
7272
mod histogram;
7373
mod merge;
74+
mod meta_hll;
7475
mod metrics_layer;
7576
mod multi_table_insert;
7677
mod statistics;
@@ -83,6 +84,7 @@ pub use histogram::Histogram;
8384
pub use histogram::HistogramBucket;
8485
pub use histogram::DEFAULT_HISTOGRAM_BUCKETS;
8586
pub use merge::MutationStatus;
87+
pub use meta_hll::MetaHLL;
8688
pub use multi_table_insert::MultiTableInsertStatus;
8789
pub use statistics::Datum;
8890
pub use statistics::F64;

0 commit comments

Comments
 (0)