Skip to content

refactor: (WIP)exprimental parquet reader #18498

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

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ databend-common-meta-store = { path = "src/meta/store" }
databend-common-meta-types = { path = "src/meta/types" }
databend-common-metrics = { path = "src/common/metrics" }
databend-common-native = { path = "src/common/native" }
databend-common-openai = { path = "src/common/openai" }
databend-common-parquet-reader-experimental = { path = "src/common/experimental_parquet_reader" }
databend-common-pipeline-core = { path = "src/query/pipeline/core" }
databend-common-pipeline-sinks = { path = "src/query/pipeline/sinks" }
databend-common-pipeline-sources = { path = "src/query/pipeline/sources" }
Expand Down Expand Up @@ -380,6 +382,7 @@ logforth = { git = "https://github.com/datafuse-extras/logforth", branch = "glob
'fastrace',
] }
lz4 = "1.24.0"
lz4_flex = { version = "^0.11" }
map-api = { version = "0.2.5" }
maplit = "1.0.2"
match-template = "0.0.1"
Expand Down Expand Up @@ -428,6 +431,8 @@ ordq = "0.2.0"
p256 = "0.13"
parking_lot = "0.12.1"
parquet = { version = "55", features = ["async"] }
parquet-format-safe = "0.2.0"
parquet2 = { version = "0.17.0", features = ["serde_types", "async", "zstd", "snappy", "lz4"] }
passwords = { version = "3.1.16", features = ["common-password"] }
paste = "1.0.15"
percent-encoding = "2.3.1"
Expand Down Expand Up @@ -503,6 +508,7 @@ sqlx = { version = "0.8", features = ["mysql", "runtime-tokio"] }
state = "0.6.0"
state-machine-api = { version = "0.1.1" }
stream-more = "0.1.3"
streaming-decompression = "0.1.2"
strength_reduce = "0.2.4"
stringslice = "0.2.0"
strum = "0.24.1"
Expand Down
4 changes: 2 additions & 2 deletions src/common/column/src/binview/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ impl<T: ViewType + ?Sized> Clone for BinaryViewColumnGeneric<T> {
}
}

unsafe impl<T: ViewType + ?Sized> Send for BinaryViewColumnGeneric<T> {}
// impl<T: ViewType + ?Sized> Send for BinaryViewColumnGeneric<T> {}

unsafe impl<T: ViewType + ?Sized> Sync for BinaryViewColumnGeneric<T> {}
// unsafe impl<T: ViewType + ?Sized> Sync for BinaryViewColumnGeneric<T> {}

impl<T: ViewType + ?Sized> BinaryViewColumnGeneric<T> {
pub fn new_unchecked(
Expand Down
32 changes: 32 additions & 0 deletions src/common/experimental_parquet_reader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[package]
name = "databend-common-parquet-reader-experimental"
version = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
edition = { workspace = true }

[features]

[dependencies]
databend-common-column = { workspace = true }
databend-common-exception = { workspace = true }
databend-common-expression = { workspace = true }
databend-storages-common-table-meta = { workspace = true }

bytes = { workspace = true }
lz4_flex = { workspace = true }
parquet = { workspace = true, features = ["experimental"] }
parquet-format-safe = { workspace = true }
parquet2 = { workspace = true }
streaming-decompression = { workspace = true }
zstd = { workspace = true }

[dev-dependencies]
# used to test async readers

[package.metadata.cargo-machete]
ignored = ["match-template"]

[lints]
workspace = true
Loading
Loading