Skip to content

Commit

Permalink
update: use left join in q17
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ishizaka committed Nov 26, 2024
1 parent e791c5f commit c5f25c2
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 c5f25c2

Please sign in to comment.