diff --git a/queries/polars/q14.py b/queries/polars/q14.py index f0c93f3..0d839c6 100644 --- a/queries/polars/q14.py +++ b/queries/polars/q14.py @@ -20,7 +20,7 @@ def q() -> None: .select( ( 100.00 - * pl.when(pl.col("p_type").str.contains("PROMO*")) + * pl.when(pl.col("p_type").str.starts_with("PROMO")) .then(pl.col("l_extendedprice") * (1 - pl.col("l_discount"))) .otherwise(0) .sum()