Skip to content

Commit

Permalink
Updating versions of all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
westonpace committed Nov 26, 2024
1 parent ccda54f commit d54e4b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ version = "0.2.1"
[workspace.dependencies]
substrait-expr-funcgen = { path = "./substrait-expr-funcgen", version = "0.2.1" }
substrait-expr-macros = { path = "./substrait-expr-macros", version = "0.2.1" }
substrait = { version = "0.29.3" }
substrait = { version = "0.49.1" }
2 changes: 1 addition & 1 deletion substrait-expr-funcgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ quote = "1.0.33"
serde_yaml = "0.9.30"
substrait.workspace = true
syn = "2.0.48"
thiserror = "1.0.56"
thiserror = "2.0.3"
12 changes: 6 additions & 6 deletions substrait-expr-funcgen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use convert_case::{Case, Casing};
use proc_macro2::TokenStream;
use quote::{format_ident, quote};
use substrait::text::simple_extensions::{
ArgumentsItem, ScalarFunction, ScalarFunctionImplsItem, SimpleExtensions, Type,
ArgumentsItem, ScalarFunction, ScalarFunctionImplsItem, SimpleExtensions, Type, ValueArg,
};
use thiserror::Error;

Expand Down Expand Up @@ -86,14 +86,14 @@ fn generate_arg_return(fn_name: &str, typ: &Type) -> Option<TokenStream> {

fn generate_arg_block(fn_name: &str, arg: &ArgumentsItem) -> Option<TokenStream> {
match arg {
ArgumentsItem::Variant0 { .. } => {
ArgumentsItem::EnumerationArg { .. } => {
println!(
"cargo:warning=Ignoring implementation of {} containing variant0 arg item",
"cargo:warning=Ignoring implementation of {} containing enumeration arg item",
fn_name
);
None
}
ArgumentsItem::Variant1 { name, value, .. } => {
ArgumentsItem::ValueArg(ValueArg { name, value, .. }) => {
let name = name.as_ref()?;
let typ = generate_arg_type(fn_name, value)?;
Some(quote!(
Expand All @@ -103,8 +103,8 @@ fn generate_arg_block(fn_name: &str, arg: &ArgumentsItem) -> Option<TokenStream>
}
))
}
ArgumentsItem::Variant2 { .. } => {
println!("cargo:warning=Ignoring implementation containing variant0 arg item");
ArgumentsItem::TypeArg { .. } => {
println!("cargo:warning=Ignoring implementation containing type arg item");
None
}
}
Expand Down
6 changes: 3 additions & 3 deletions substrait-expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ include = [
substrait.workspace = true
substrait-expr-macros.workspace = true
once_cell = "1.19.0"
prost = "0.12.3"
thiserror = "1.0.50"
prost = "0.13.3"
thiserror = "2.0.3"

[build-dependencies]
substrait-expr-funcgen = {path = "../substrait-expr-funcgen", version = "0.2.1" }
substrait-expr-funcgen = { path = "../substrait-expr-funcgen", version = "0.2.1" }

0 comments on commit d54e4b4

Please sign in to comment.