Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions python/cudf_polars/cudf_polars/experimental/benchmarks/pdsh.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES.
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES.
# SPDX-License-Identifier: Apache-2.0

"""
Expand Down Expand Up @@ -648,16 +648,16 @@ def q18(run_config: RunConfig) -> pl.LazyFrame:
.group_by(
"c_name", "o_custkey", "o_orderkey", "o_orderdate", "o_totalprice"
)
.agg(pl.col("l_quantity").sum().alias("col6"))
.agg(pl.col("l_quantity").sum().alias("sum(l_quantity)"))
.select(
pl.col("c_name"),
pl.col("o_custkey").alias("c_custkey"),
pl.col("o_orderkey"),
pl.col("o_orderdate").alias("o_orderdat"),
pl.col("o_orderdate"),
pl.col("o_totalprice"),
pl.col("col6"),
pl.col("sum(l_quantity)"),
)
.sort(by=["o_totalprice", "o_orderdat"], descending=[True, False])
.sort(by=["o_totalprice", "o_orderdate"], descending=[True, False])
.head(100)
)

Expand Down Expand Up @@ -1373,9 +1373,9 @@ def q18(run_config: RunConfig) -> str:
c_name,
c_custkey,
o_orderkey,
o_orderdate as o_orderdat,
o_orderdate,
o_totalprice,
sum(l_quantity) as col6
sum(l_quantity)
from
customer,
orders,
Expand Down
Loading