Skip to content

Commit

Permalink
Merge remote-tracking branch 'apache/main' into alamb/unnest_api_try3
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Aug 9, 2023
2 parents 132a4e7 + c08c30f commit ceb4dd6
Show file tree
Hide file tree
Showing 92 changed files with 1,861 additions and 5,197 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ rust-version = "1.70"
version = "28.0.0"

[workspace.dependencies]
arrow = { version = "43.0.0", features = ["prettyprint", "dyn_cmp_dict"] }
arrow-array = { version = "43.0.0", default-features = false, features = ["chrono-tz"] }
arrow-buffer = { version = "43.0.0", default-features = false }
arrow-flight = { version = "43.0.0", features = ["flight-sql-experimental"] }
arrow-schema = { version = "43.0.0", default-features = false }
parquet = { version = "43.0.0", features = ["arrow", "async", "object_store"] }
arrow = { version = "45.0.0", features = ["prettyprint", "dyn_cmp_dict"] }
arrow-array = { version = "45.0.0", default-features = false, features = ["chrono-tz"] }
arrow-buffer = { version = "45.0.0", default-features = false }
arrow-flight = { version = "45.0.0", features = ["flight-sql-experimental"] }
arrow-schema = { version = "45.0.0", default-features = false }
parquet = { version = "45.0.0", features = ["arrow", "async", "object_store"] }
sqlparser = { version = "0.36.1", features = ["visitor"] }

[profile.release]
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/queries/q8.sql
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
select
o_year,
cast(cast(sum(case
when nation = 'BRAZIL' then volume
else 0
end) as decimal(12,2)) / cast(sum(volume) as decimal(12,2)) as decimal(15,2)) as mkt_share
sum(case
when nation = 'BRAZIL' then volume
else 0
end) / sum(volume) as mkt_share
from
(
select
Expand Down
Loading

0 comments on commit ceb4dd6

Please sign in to comment.