From d30e5da41c73320cec5394e3530b9d91d9313d4f Mon Sep 17 00:00:00 2001 From: Reuven Gonzales Date: Fri, 20 Dec 2024 19:43:51 -0800 Subject: [PATCH] fix --- warehouse/metrics_tools/factory/factory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/warehouse/metrics_tools/factory/factory.py b/warehouse/metrics_tools/factory/factory.py index 1f949e0d..8940fc8a 100644 --- a/warehouse/metrics_tools/factory/factory.py +++ b/warehouse/metrics_tools/factory/factory.py @@ -315,6 +315,7 @@ def generate_models(self, calling_file: str): } ), name=f"metrics.timeseries_metrics_to_{entity_type}", + is_sql=True, kind="VIEW", dialect="clickhouse", start=self._raw_options["start"], @@ -461,6 +462,7 @@ def generate_time_aggregation_model_for_rendered_query( **kind_options, }, dialect="clickhouse", + is_sql=True, columns=columns, grain=grain, cron=cron,