Skip to content

Commit

Permalink
chore(data-warehouse): add field type on breakdown logic (#21028)
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE authored Mar 20, 2024
1 parent 235f7c6 commit 4073dc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4073dc1

Please sign in to comment.