fix(sqla): timeseries limit not applied when using columns (#14297)

This commit is contained in:
Ville Brofeldt
2021-04-22 10:38:28 +03:00
committed by GitHub
parent fe1d32dc2a
commit c760030b83

View File

@@ -1278,7 +1278,7 @@ class SqlaTable( # pylint: disable=too-many-public-methods,too-many-instance-at
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