From a42a92adbc07c2e04e0648d36bdef0c67df9473e Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 19 Mar 2024 20:45:12 -0600 Subject: [PATCH] add field type --- posthog/hogql_queries/insights/trends/trends_query_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/hogql_queries/insights/trends/trends_query_runner.py b/posthog/hogql_queries/insights/trends/trends_query_runner.py index b9acb5c37d000..29d29b55e8b0f 100644 --- a/posthog/hogql_queries/insights/trends/trends_query_runner.py +++ b/posthog/hogql_queries/insights/trends/trends_query_runner.py @@ -709,7 +709,7 @@ def _is_breakdown_field_boolean(self): if not table_model: raise ValueError(f"Table {series.table_name} not found") - field_type = dict(table_model.columns)[self.query.breakdownFilter.breakdown] + field_type = dict(table_model.columns)[self.query.breakdownFilter.breakdown]["clickhouse"] if field_type.startswith("Nullable("): field_type = field_type.replace("Nullable(", "")[:-1]