Skip to content

Commit

Permalink
fix bug on QueryContextFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
ok9897 committed Feb 16, 2023
1 parent 4ddf67f commit 9b43492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/common/query_context_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _apply_granularity(
datasource: BaseDatasource,
) -> None:
temporal_columns = {
column.column_name
column["column_name"] if isinstance(column, dict) else column.column_name
for column in datasource.columns
if (column["is_dttm"] if isinstance(column, dict) else column.is_dttm)
}
Expand Down

0 comments on commit 9b43492

Please sign in to comment.