diff --git a/template/config/queries/hello_world.sql b/template/config/queries/hello_world.sql index 2ee26aa59..a09ef265a 100644 --- a/template/config/queries/hello_world.sql +++ b/template/config/queries/hello_world.sql @@ -1,3 +1,4 @@ {{if .plugins.analytics -}} +-- @param message STRING SELECT :message AS value; {{- end}} diff --git a/template/config/queries/mocked_sales.sql b/template/config/queries/mocked_sales.sql index 526b5fd83..bab03dd7e 100644 --- a/template/config/queries/mocked_sales.sql +++ b/template/config/queries/mocked_sales.sql @@ -1,4 +1,5 @@ {{if .plugins.analytics -}} +-- @param max_month_num INT WITH mock_data AS ( SELECT 'January' AS month, 1 AS month_num, 65000 AS revenue, 45000 AS expenses, 850 AS customers UNION ALL SELECT 'February', 2, 72000, 48000, 920