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,