Skip to content

Commit

Permalink
Update to arrow 19.0.0 (#2955)
Browse files Browse the repository at this point in the history
* Update to use arrow 19.0.0

* Update for infallable builder and Decimal128Array

* Update avro for new API

* Update more APIs for arrow 19.0.0

* Fix tests and clippy
  • Loading branch information
alamb committed Jul 27, 2022
1 parent c345f6d commit cd31649
Show file tree
Hide file tree
Showing 47 changed files with 469 additions and 492 deletions.
2 changes: 1 addition & 1 deletion datafusion-cli/Cargo.toml
Expand Up @@ -29,7 +29,7 @@ rust-version = "1.59"
readme = "README.md"

[dependencies]
arrow = { version = "18.0.0" }
arrow = { version = "19.0.0" }
clap = { version = "3", features = ["derive", "cargo"] }
datafusion = { path = "../datafusion/core", version = "10.0.0" }
dirs = "4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion datafusion-examples/Cargo.toml
Expand Up @@ -34,7 +34,7 @@ path = "examples/avro_sql.rs"
required-features = ["datafusion/avro"]

[dev-dependencies]
arrow-flight = { version = "18.0.0" }
arrow-flight = { version = "19.0.0" }
async-trait = "0.1.41"
datafusion = { path = "../datafusion/core" }
futures = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions datafusion-examples/examples/custom_datasource.rs
Expand Up @@ -247,8 +247,8 @@ impl ExecutionPlan for CustomExec {
let mut account_array = UInt64Builder::new(users.len());

for user in users {
id_array.append_value(user.id)?;
account_array.append_value(user.bank_account)?;
id_array.append_value(user.id);
account_array.append_value(user.bank_account);
}

Ok(Box::pin(MemoryStream::try_new(
Expand Down
4 changes: 2 additions & 2 deletions datafusion/common/Cargo.toml
Expand Up @@ -38,11 +38,11 @@ jit = ["cranelift-module"]
pyarrow = ["pyo3"]

[dependencies]
arrow = { version = "18.0.0", features = ["prettyprint"] }
arrow = { version = "19.0.0", features = ["prettyprint"] }
avro-rs = { version = "0.13", features = ["snappy"], optional = true }
cranelift-module = { version = "0.86.1", optional = true }
object_store = { version = "0.3", optional = true }
ordered-float = "3.0"
parquet = { version = "18.0.0", features = ["arrow"], optional = true }
parquet = { version = "19.0.0", features = ["arrow"], optional = true }
pyo3 = { version = "0.16", optional = true }
sqlparser = "0.18"

0 comments on commit cd31649

Please sign in to comment.