Skip to content

Commit fff9247

Browse files
committed
wip
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 4fa4ec5 commit fff9247

Some content is hidden

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

61 files changed

+361
-445
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ members = [
1414
"vortex-dtype",
1515
"vortex-duckdb",
1616
"vortex-error",
17-
"vortex-expr",
1817
"vortex-ffi",
1918
"vortex-file",
2019
"vortex-flatbuffers",
@@ -230,7 +229,6 @@ vortex-decimal-byte-parts = { version = "0.1.0", path = "encodings/decimal-byte-
230229
vortex-dict = { version = "0.1.0", path = "./encodings/dict", default-features = false }
231230
vortex-dtype = { version = "0.1.0", path = "./vortex-dtype", default-features = false }
232231
vortex-error = { version = "0.1.0", path = "./vortex-error", default-features = false }
233-
vortex-expr = { version = "0.1.0", path = "./vortex-expr", default-features = false }
234232
vortex-fastlanes = { version = "0.1.0", path = "./encodings/fastlanes", default-features = false }
235233
vortex-file = { version = "0.1.0", path = "./vortex-file", default-features = false }
236234
vortex-flatbuffers = { version = "0.1.0", path = "./vortex-flatbuffers", default-features = false }

encodings/fastlanes/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ rand = { workspace = true }
4444
rstest = { workspace = true }
4545
vortex-alp = { path = "../alp" }
4646
vortex-array = { workspace = true, features = ["test-harness"] }
47-
vortex-expr = { workspace = true }
4847
vortex-fastlanes = { path = ".", features = ["test-harness"] }
4948

5049
[features]

encodings/sequence/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ itertools = { workspace = true }
3131
rstest = { workspace = true }
3232
tokio = { workspace = true, features = ["full"] }
3333
vortex-array = { path = "../../vortex-array", features = ["test-harness"] }
34-
vortex-expr = { path = "../../vortex-expr" }
3534
vortex-file = { path = "../../vortex-file", features = ["tokio"] }
3635
vortex-layout = { path = "../../vortex-layout" }
3736

fuzz/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ vortex-btrblocks = { workspace = true }
2727
vortex-buffer = { workspace = true }
2828
vortex-dtype = { workspace = true, features = ["arbitrary"] }
2929
vortex-error = { workspace = true }
30-
vortex-expr = { workspace = true, features = ["arbitrary"] }
3130
vortex-file = { workspace = true, features = ["tokio", "zstd"] }
3231
vortex-io = { workspace = true }
3332
vortex-layout = { workspace = true, features = ["zstd"] }

vortex-array/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ rand = { workspace = true }
5454
rstest = { workspace = true, optional = true }
5555
rstest_reuse = { workspace = true, optional = true }
5656
rustc-hash = { workspace = true }
57+
serde = { workspace = true, optional = true, features = ["derive"] }
5758
simdutf8 = { workspace = true }
5859
static_assertions = { workspace = true }
5960
tabled = { workspace = true, optional = true, default-features = false, features = [
@@ -68,6 +69,7 @@ vortex-flatbuffers = { workspace = true, features = ["array"] }
6869
vortex-io = { workspace = true }
6970
vortex-mask = { workspace = true }
7071
vortex-metrics = { workspace = true }
72+
vortex-proto = { workspace = true, features = ["expr"] }
7173
vortex-scalar = { workspace = true }
7274
vortex-session = { workspace = true }
7375
vortex-utils = { workspace = true }
@@ -82,6 +84,12 @@ arbitrary = [
8284
canonical_counter = []
8385
table-display = ["dep:tabled"]
8486
test-harness = ["dep:goldenfile", "dep:rstest", "dep:rstest_reuse"]
87+
serde = [
88+
"dep:serde",
89+
"vortex-dtype/serde",
90+
"vortex-error/serde",
91+
"vortex-buffer/serde",
92+
]
8593

8694
[dev-dependencies]
8795
arrow-cast = { workspace = true }
@@ -126,3 +134,8 @@ harness = false
126134
[[bench]]
127135
name = "varbinview_compact"
128136
harness = false
137+
138+
[[bench]]
139+
name = "expr_large_struct_pack"
140+
path = "benches/expr/large_struct_pack.rs"
141+
harness = false
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# Vortex Expressions
1+
# Vortex array
2+
3+
TODO
4+
5+
Also contains
6+
7+
## Vortex Expressions
28

39
A crate defining serializable predicate expressions. Used predominantly for filter push-down.
410

File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
use vortex_array::stats::Stat;
54
use vortex_dtype::FieldPath;
65

7-
use crate::Expression;
6+
use crate::expr::Expression;
7+
use crate::stats::Stat;
88

99
/// A catalog of available stats that are associated with field paths.
1010
pub trait StatsCatalog {

0 commit comments

Comments
 (0)