Skip to content

Commit

Permalink
arrow52 conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Aug 30, 2024
1 parent 88bc21c commit b72fedc
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 18 deletions.
90 changes: 77 additions & 13 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ ahash = "0.8"
memchr = { version = "2.6", optional = true }

# Support conversion to/from arrow-rs
arrow-buffer = { version = ">=40", optional = true }
arrow-schema = { version = ">=40", optional = true }
arrow-data = { version = ">=40", optional = true }
arrow-array = { version = ">=40", optional = true }
arrow-buffer = { version = ">=52", optional = true }
arrow-schema = { version = ">=52", optional = true }
arrow-data = { version = ">=52", optional = true }
arrow-array = { version = ">=52", optional = true }

[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2", features = ["js"] }
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.76"
channel = "1.78"
1 change: 1 addition & 0 deletions src/datatypes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ impl From<DataType> for arrow_schema::DataType {
DataType::Decimal(precision, scale) => Self::Decimal128(precision as _, scale as _),
DataType::Decimal256(precision, scale) => Self::Decimal256(precision as _, scale as _),
DataType::Extension(_, d, _) => Arc::unwrap_or_clone_polyfill(d).into(),
_ => unimplemented!("TODO"),
}
}
}
Expand Down

0 comments on commit b72fedc

Please sign in to comment.