From f53bcc19eb7f300f52856e4cb78bea2f4601409f Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Thu, 28 Mar 2024 13:59:46 -0700 Subject: [PATCH] fix: Use specified arrow-rs branch for workaround to invalid offset buffers from Java Arrow --- Cargo.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c3dade8bc6c5..b110fdfc5a8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,14 +57,14 @@ version = "36.0.0" # for the inherited dependency but cannot do the reverse (override from true to false). # # See for more detaiils: https://github.com/rust-lang/cargo/issues/11329 -arrow = { version = "51.0.0", features = ["prettyprint"] } -arrow-array = { version = "51.0.0", default-features = false, features = ["chrono-tz"] } -arrow-buffer = { version = "51.0.0", default-features = false } -arrow-flight = { version = "51.0.0", features = ["flight-sql-experimental"] } -arrow-ipc = { version = "51.0.0", default-features = false, features = ["lz4"] } -arrow-ord = { version = "51.0.0", default-features = false } -arrow-schema = { version = "51.0.0", default-features = false } -arrow-string = { version = "51.0.0", default-features = false } +arrow = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", features = ["prettyprint"] } +arrow-array = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false, features = ["chrono-tz"] } +arrow-buffer = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false } +arrow-flight = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", features = ["flight-sql-experimental"] } +arrow-ipc = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false, features = ["lz4"] } +arrow-ord = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false } +arrow-schema = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false } +arrow-string = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false } async-trait = "0.1.73" bigdecimal = "=0.4.1" bytes = "1.4" @@ -95,7 +95,7 @@ log = "^0.4" num_cpus = "1.13.0" object_store = { version = "0.9.1", default-features = false } parking_lot = "0.12" -parquet = { version = "51.0.0", default-features = false, features = ["arrow", "async", "object_store"] } +parquet = { git = "https://github.com/viirya/arrow-rs.git", rev = "c9fb7df", default-features = false, features = ["arrow", "async", "object_store"] } rand = "0.8" rstest = "0.18.0" serde_json = "1"