Skip to content

Commit

Permalink
Merge pull request 'update: use left join in q17' (pola-rs#89) from f…
Browse files Browse the repository at this point in the history
…eature/q17-left-join into fireducks-dev

Reviewed-on: http://fire.svp.cl.nec.co.jp:3002/dpp/polars-tpch/pulls/89
  • Loading branch information
k-ishizaka committed Nov 26, 2024
2 parents e791c5f + c5f25c2 commit 4869af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries/fireducks/q17.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def query():
q1 = (
part[part["p_brand"] == var1]
.pipe(lambda df: df[df["p_container"] == var2])
.merge(lineitem, left_on="p_partkey", right_on="l_partkey")
.merge(lineitem, how="left", left_on="p_partkey", right_on="l_partkey")
)

q_final = (
Expand Down

0 comments on commit 4869af4

Please sign in to comment.