Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Oct 28, 2021
1 parent 132c05b commit d158742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/connectors/sqla/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ def get_sqla_query( # pylint: disable=too-many-arguments,too-many-locals,too-ma
# if groupby field/expr equals granularity field/expr
if selected == granularity:
sqla_col = columns_by_name[selected]
outer = table_col.get_timestamp_expression(
outer = sqla_col.get_timestamp_expression(
time_grain=time_grain,
label=selected,
template_processor=template_processor,
Expand Down

0 comments on commit d158742

Please sign in to comment.