You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function distinct() cannot be combined with other functions
[I] 2017-11-21T15:50:00Z SELECT count(distinct(a_f)) AS a, count(distinct(b_f)) AS b INTO blah FROM baz WHERE type = 'u' OR type = 'c' OR type = 'd' AND time >= '2017-11-21T15:45:00Z' AND time < '2017-11-21T15:50:00Z' GROUP BY time(5m) service=query
[I] 2017-11-21T15:50:00Z error: aggregate function distinct() cannot be combined with other functions or fields.
The text was updated successfully, but these errors were encountered:
Sorry to revive a closed issue, but we have a lot of queries that I believe are being affected by this. Just curious if there is an ETA for 1.4.3, which I assume includes the fix? Will it be pending a fix for #9134 ?
Again, sorry to ask, but I just haven't been able to think through a workaround for our counts.
function distinct() cannot be combined with other functions
[I] 2017-11-21T15:50:00Z SELECT count(distinct(a_f)) AS a, count(distinct(b_f)) AS b INTO blah FROM baz WHERE type = 'u' OR type = 'c' OR type = 'd' AND time >= '2017-11-21T15:45:00Z' AND time < '2017-11-21T15:50:00Z' GROUP BY time(5m) service=query
[I] 2017-11-21T15:50:00Z error: aggregate function distinct() cannot be combined with other functions or fields.
The text was updated successfully, but these errors were encountered: