Skip to content

Commit e7c4d6f

Browse files
authored
Merge pull request #18 from kination/migrate-csv-to-arrow
Migrate csv to arrow for data transfer
2 parents fdfa60c + ffa9907 commit e7c4d6f

10 files changed

Lines changed: 266 additions & 1589 deletions

vine-core/Cargo.lock

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

vine-core/Cargo.toml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ lazy_static = "1.4"
1313
base64 = "0.22"
1414

1515
# Apache Arrow for JNI data transfer (Arrow IPC format)
16-
# Note: Using specific versions to avoid chrono compatibility issues
17-
arrow-schema = { version = "53.4", default-features = false }
18-
arrow-array = { version = "53.4", default-features = false }
19-
arrow-buffer = { version = "53.4", default-features = false }
20-
arrow-data = { version = "53.4", default-features = false }
21-
arrow-ipc = { version = "53.4", default-features = false }
16+
# Must match Vortex v0.56.0's arrow dependency version
17+
arrow-schema = { version = "56.2", default-features = false }
18+
arrow-array = { version = "56.2", default-features = false }
19+
arrow-buffer = { version = "56.2", default-features = false }
20+
arrow-data = { version = "56.2", default-features = false }
21+
arrow-ipc = { version = "56.2", default-features = false }
22+
arrow-cast = { version = "56.2", default-features = false }
2223

2324
# Vortex (primary storage format)
2425
vortex = { version = "0.56.0", features = ["tokio"] }
@@ -29,11 +30,15 @@ async-fs = { version = "2" }
2930

3031
[dev-dependencies]
3132
tempfile = "3.8"
32-
arrow-schema = { version = "53.4", default-features = false }
33+
arrow-schema = { version = "56.2", default-features = false }
3334
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
3435
chrono = "0.4"
3536
vortex-dtype = { version = "0.56.0" }
3637

3738
[lib]
3839
name = "vine_core"
3940
crate-type = ["cdylib", "rlib"]
41+
42+
[[bin]]
43+
name = "generate-test-data"
44+
path = "src/bin/generate_test_data.rs"

0 commit comments

Comments
 (0)