Skip to content

Commit

Permalink
Upgrade to DF 28.0.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Aug 11, 2023
1 parent e34d203 commit acb8bcb
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 76 deletions.
120 changes: 57 additions & 63 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

[package]
name = "datafusion-python"
version = "28.0.0"
version = "29.0.0"
homepage = "https://github.com/apache/arrow-datafusion-python"
repository = "https://github.com/apache/arrow-datafusion-python"
authors = ["Apache Arrow <[email protected]>"]
Expand All @@ -36,12 +36,12 @@ protoc = [ "datafusion-substrait/protoc" ]
tokio = { version = "1.24", features = ["macros", "rt", "rt-multi-thread", "sync"] }
rand = "0.8"
pyo3 = { version = "0.19", features = ["extension-module", "abi3", "abi3-py38"] }
datafusion = { version = "28.0.0", features = ["pyarrow", "avro"] }
datafusion-common = { version = "28.0.0", features = ["pyarrow"] }
datafusion-expr = { version = "28.0.0" }
datafusion-optimizer = { version = "28.0.0" }
datafusion-sql = { version = "28.0.0" }
datafusion-substrait = { version = "28.0.0" }
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", rev = "29.0.0-rc1", features = ["pyarrow", "avro"] }
datafusion-common = { git = "https://github.com/apache/arrow-datafusion.git", rev = "29.0.0-rc1", features = ["pyarrow"] }
datafusion-expr = { git = "https://github.com/apache/arrow-datafusion.git", rev = "29.0.0-rc1" }
datafusion-optimizer = { git = "https://github.com/apache/arrow-datafusion.git", rev = "29.0.0-rc1" }
datafusion-sql = { git = "https://github.com/apache/arrow-datafusion.git", rev = "29.0.0-rc1" }
datafusion-substrait = { git = "https://github.com/apache/arrow-datafusion.git", rev = "29.0.0-rc1" }
prost = "0.11"
prost-types = "0.11"
uuid = { version = "1.3", features = ["v4"] }
Expand Down
3 changes: 3 additions & 0 deletions src/common/data_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ impl DataTypeMap {
ScalarValue::Decimal128(_, precision, scale) => {
Ok(DataType::Decimal128(*precision, *scale))
}
ScalarValue::Decimal256(_, precision, scale) => {
Ok(DataType::Decimal256(*precision, *scale))
}
ScalarValue::Dictionary(data_type, scalar_type) => {
// Call this function again to map the dictionary scalar_value to an Arrow type
Ok(DataType::Dictionary(
Expand Down
Loading

0 comments on commit acb8bcb

Please sign in to comment.