Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanc-n committed Nov 11, 2024
1 parent d17a144 commit bbb886f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ async-trait = "0.1.73"
bigdecimal = "=0.4.1"
bytes = "1.4"
chrono = { version = "0.4.38", default-features = false }
chrono-tz = { version = "0.10.0", default-features = false }
ctor = "0.2.0"
dashmap = "6.0.1"
datafusion = { path = "datafusion/core", version = "43.0.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ workspace = true

[dependencies]
arrow = { workspace = true }
chrono-tz = { workspace = true }
chrono-tz = { version = "0.10.0", default-features = false }
datafusion-common = { workspace = true, default-features = true }
env_logger = { workspace = true }
paste = "1.0.15"
Expand Down
2 changes: 1 addition & 1 deletion test-utils/src/array_gen/primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl PrimitiveArrayGenerator {

// Allows for timezones + None
let mut timezone_options: Vec<Option<&Tz>> = vec![None];
timezone_options.extend(TZ_VARIANTS.iter().map(|tz| Some(tz)));
timezone_options.extend(TZ_VARIANTS.iter().map(Some));

let selected_option = timezone_options.choose(&mut rng).cloned().flatten(); // random timezone/None

Expand Down

0 comments on commit bbb886f

Please sign in to comment.