Skip to content

Commit ef5aeb3

Browse files
committed
oops
1 parent ab36082 commit ef5aeb3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/tpch/q21_suppliers_kept_orders_waiting.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@
102102
)
103103

104104
# Join to the supplier of interest list for the nation of interest
105-
df = df.join(df_suppliers_of_interest, (["suppkey"], ["s_suppkey"]), "inner")
105+
df = df.join(
106+
df_suppliers_of_interest, left_on=["suppkey"], right_on=["s_suppkey"], how="inner"
107+
)
106108

107109
# Count how many orders that supplier is the only failed supplier for
108110
df = df.aggregate([col("s_name")], [F.count(col("o_orderkey")).alias("numwait")])

0 commit comments

Comments
 (0)