From c02c94e18049db80358f64d78e0a9e0019d27038 Mon Sep 17 00:00:00 2001 From: NicholasTurner23 Date: Wed, 11 Dec 2024 18:40:05 +0300 Subject: [PATCH] Add networks for dynamic query --- src/workflows/airqo_etl_utils/bigquery_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflows/airqo_etl_utils/bigquery_api.py b/src/workflows/airqo_etl_utils/bigquery_api.py index f692bb49d1..f050a1855e 100644 --- a/src/workflows/airqo_etl_utils/bigquery_api.py +++ b/src/workflows/airqo_etl_utils/bigquery_api.py @@ -716,7 +716,7 @@ def dynamic_averaging_query( "site_id", "timestamp", ] - group_by = group_by or ["device_number", "device_id", "site_id"] + group_by = group_by or ["device_number", "device_id", "site_id", "network"] numeric_columns = self.get_columns( table, [ColumnDataType.FLOAT, ColumnDataType.INTEGER]