From 99c7d136d6cf20e35d8ca7499cffea4c59259520 Mon Sep 17 00:00:00 2001 From: "Lennart Kats (databricks)" Date: Thu, 6 Jun 2024 09:40:15 +0200 Subject: [PATCH] Fix conditional in query in `default-sql` template (#1479) ## Changes This corrects a mistake in the sample SQL identified by @pietern --- .../template/{{.project_name}}/src/orders_daily.sql.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/template/templates/default-sql/template/{{.project_name}}/src/orders_daily.sql.tmpl b/libs/template/templates/default-sql/template/{{.project_name}}/src/orders_daily.sql.tmpl index 7c86f921..8a9d12ea 100644 --- a/libs/template/templates/default-sql/template/{{.project_name}}/src/orders_daily.sql.tmpl +++ b/libs/template/templates/default-sql/template/{{.project_name}}/src/orders_daily.sql.tmpl @@ -12,7 +12,7 @@ FROM orders_raw WHERE if( - {{"{{"}}bundle_target{{"}}"}} != "prod", + {{"{{"}}bundle_target{{"}}"}} = "prod", true, -- During development, only process a smaller range of data