Skip to content

Commit

Permalink
Bump arrow version
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Sep 8, 2021
1 parent 7047b25 commit 55d0cc8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ballista/rust/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tokio = "1.0"
tonic = "0.5"
uuid = { version = "0.8", features = ["v4"] }

arrow-flight = { version = "^5.2" }
arrow-flight = { git = "https://github.com/apache/arrow-rs", rev = "c4e20da" }

datafusion = { path = "../../../datafusion", version = "5.1.0" }

Expand Down
4 changes: 3 additions & 1 deletion ballista/rust/core/src/serde/logical_plan/to_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ impl From<&DataType> for protobuf::arrow_type::ArrowTypeEnum {
fractional: *fractional as u64,
})
}
_ => ArrowTypeEnum::None(EmptyMessage {}),
}
}
}
Expand Down Expand Up @@ -537,7 +538,8 @@ impl TryFrom<&DataType> for protobuf::scalar_type::Datatype {
| DataType::Struct(_)
| DataType::Union(_)
| DataType::Dictionary(_, _)
| DataType::Decimal(_, _) => {
| DataType::Decimal(_, _)
| DataType::Map(_, _) => {
return Err(proto_error(format!(
"Error converting to Datatype to scalar type, {:?} is invalid as a datafusion scalar.",
val
Expand Down
4 changes: 2 additions & 2 deletions ballista/rust/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ edition = "2018"
snmalloc = ["snmalloc-rs"]

[dependencies]
arrow = { version = "^5.2" }
arrow-flight = { version = "^5.2" }
arrow = { git = "https://github.com/apache/arrow-rs", rev = "c4e20da" }
arrow-flight = { git = "https://github.com/apache/arrow-rs", rev = "c4e20da" }
anyhow = "1"
async-trait = "0.1.36"
ballista-core = { path = "../core", version = "0.6.0" }
Expand Down
2 changes: 1 addition & 1 deletion datafusion-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ clap = "2.33"
rustyline = "8.0"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync"] }
datafusion = { path = "../datafusion", version = "5.1.0" }
arrow = { version = "^5.2" }
arrow = { git = "https://github.com/apache/arrow-rs", rev = "c4e20da" }
ballista = { path = "../ballista/rust/client", version = "0.6.0" }
4 changes: 2 additions & 2 deletions datafusion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ force_hash_collisions = []
[dependencies]
ahash = "0.7"
hashbrown = { version = "0.11", features = ["raw"] }
arrow = { git = "https://github.com/apache/arrow-rs", rev = "34df13a", features = ["prettyprint"] }
parquet = { git = "https://github.com/apache/arrow-rs", rev = "34df13a", features = ["arrow"] }
arrow = { git = "https://github.com/apache/arrow-rs", rev = "c4e20da", features = ["prettyprint"] }
parquet = { git = "https://github.com/apache/arrow-rs", rev = "c4e20da", features = ["arrow"] }
sqlparser = "0.10"
paste = "^1.0"
num_cpus = "1.13.0"
Expand Down

0 comments on commit 55d0cc8

Please sign in to comment.