Skip to content

Commit

Permalink
ensure we can run many different metrics at once
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 committed Sep 19, 2024
1 parent d371cda commit 1bd99c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions warehouse/metrics_tools/lib/factories/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def generate_models_from_query(
"name": ModelKindName.INCREMENTAL_BY_TIME_RANGE,
"time_column": "metrics_sample_date",
"batch_size": 1,
"batch_concurrency": 1,
},
dialect="clickhouse",
columns=columns,
Expand Down Expand Up @@ -349,3 +350,4 @@ def timeseries_metrics(
# raise Exception("no queries generated from the evaluated queries")
# top_level_select = top_level_select.with_(f"all_{cte_suffix}", union_cte)
# return top_level_select
# return top_level_select

0 comments on commit 1bd99c4

Please sign in to comment.