Skip to content

Commit 14219f4

Browse files
authored
Fix incorrect q14 translation (#161)
1 parent 4924e48 commit 14219f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries/polars/q14.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def q(
2929
.select(
3030
(
3131
100.00
32-
* pl.when(pl.col("p_type").str.contains("PROMO*"))
32+
* pl.when(pl.col("p_type").str.starts_with("PROMO"))
3333
.then(pl.col("l_extendedprice") * (1 - pl.col("l_discount")))
3434
.otherwise(0)
3535
.sum()

0 commit comments

Comments
 (0)