From 4926f2402a8874cb53bc21c2e49b4e13e07db56f Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Mon, 29 Jul 2024 18:05:39 -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..36551e25e9 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: