Skip to content

Commit

Permalink
fix(sqla): timeseries limit not applied when using columns (#14297)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored Apr 22, 2021
1 parent fe1d32d commit c760030
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 @@ -1278,7 +1278,7 @@ def get_sqla_query( # pylint: disable=too-many-arguments,too-many-locals,too-ma
is_timeseries # pylint: disable=too-many-boolean-expressions
and timeseries_limit
and not time_groupby_inline
and groupby
and groupby_exprs_sans_timestamp
):
if db_engine_spec.allows_joins:
# some sql dialects require for order by expressions
Expand Down

0 comments on commit c760030

Please sign in to comment.