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
Using InfluxDB v0.5.7 (git: 9111691) (leveldb: 1.15).
I have this query: SELECT COUNT(chats.csid) / COUNT(start_chats.csid) FROM conversations AS chats INNER JOIN client_events AS start_chats WHERE time > '2014-03-17 11:01:30.200' AND start_chats.code = 'start_chat' AND chats.answered = true GROUP BY time(24.0h);
which causes this stacktrace:
I have another query which is similar: SELECT COUNT(starts.csid) / COUNT(clicks.csid) FROM client_events AS clicks INNER JOIN client_events AS renders WHERE time > '2014-03-17 11:16:07.005' AND clicks.code = 'cta_click' AND renders.code = 'cta_render' GROUP BY time(24.0h);
This works it just doesn't return any data. So it seems that joining from two different series causes the panic. I also tried removing the count functions and where clauses and the panic didn't happen but there was no data. If I separate the joins into their own queries the data is there, so there is definitely some issue with joining. Or my query is wrong (-‸ლ).
I have tests in my app for this so reproducing is easy, LMK if you need the db data. Thanks!
The text was updated successfully, but these errors were encountered:
Using InfluxDB v0.5.7 (git: 9111691) (leveldb: 1.15).
I have this query:
SELECT COUNT(chats.csid) / COUNT(start_chats.csid) FROM conversations AS chats INNER JOIN client_events AS start_chats WHERE time > '2014-03-17 11:01:30.200' AND start_chats.code = 'start_chat' AND chats.answered = true GROUP BY time(24.0h);
which causes this stacktrace:
I have another query which is similar:
SELECT COUNT(starts.csid) / COUNT(clicks.csid) FROM client_events AS clicks INNER JOIN client_events AS renders WHERE time > '2014-03-17 11:16:07.005' AND clicks.code = 'cta_click' AND renders.code = 'cta_render' GROUP BY time(24.0h);
This works it just doesn't return any data. So it seems that joining from two different series causes the panic. I also tried removing the count functions and where clauses and the panic didn't happen but there was no data. If I separate the joins into their own queries the data is there, so there is definitely some issue with joining. Or my query is wrong (-‸ლ).
I have tests in my app for this so reproducing is easy, LMK if you need the db data. Thanks!
The text was updated successfully, but these errors were encountered: