Skip to content

Commit

Permalink
Handle renamed qp helper
Browse files Browse the repository at this point in the history
  • Loading branch information
crisptrutski committed Oct 8, 2024
1 parent 0bf19ef commit ee7412f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/metabase/driver/clickhouse_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
(mt/test-driver
:clickhouse
(let [query (data/mbql-query venues {:fields [$id] :order-by [[:asc $id]] :limit 5})
{compiled :query} (qp.compile/compile-and-splice-parameters query)
{compiled :query} (qp.compile/compile-with-inline-parameters query)
pretty (driver/prettify-native-form :clickhouse compiled)]
(testing "compiled"
(is (= "SELECT `test_data`.`venues`.`id` AS `id` FROM `test_data`.`venues` ORDER BY `test_data`.`venues`.`id` ASC LIMIT 5" compiled)))
Expand Down

0 comments on commit ee7412f

Please sign in to comment.