From bfd90c5555812bf6799db0d657152c5398d53269 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Mon, 29 Jul 2024 18:01:14 -0700 Subject: [PATCH] Fix engine syntax for check query test --- .../integration/test_cases/itest_cumulative_metric.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests_metricflow/integration/test_cases/itest_cumulative_metric.yaml b/tests_metricflow/integration/test_cases/itest_cumulative_metric.yaml index 61ce751ffd..f6184f5a64 100644 --- a/tests_metricflow/integration/test_cases/itest_cumulative_metric.yaml +++ b/tests_metricflow/integration/test_cases/itest_cumulative_metric.yaml @@ -610,7 +610,7 @@ integration_test: , 1 AS archived_users FROM {{ source_schema }}.dim_users ) subq_1 - ON (subq_1.metric_time__hour <= subq_3.ts) AND (subq_1.metric_time__hour > subq_3.ts - INTERVAL 3 hour) + ON (subq_1.metric_time__hour <= subq_3.ts) AND (subq_1.metric_time__hour > {{ render_date_sub("subq_3", "Ts", 3, TimeGranularity.HOUR) }} GROUP BY subq_3.ts --- integration_test: