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
InfluxDB crashes when specifying a text field as a selection either before or after selecting the difference between two fields in an INNER JOIN
When using an INNER JOIN, selecting various component fields works as expected. Likewise, selecting the difference between two fields (eg: select a.value - b.value...) works as expected. Specifying a text field, such as hostname, before or after that type of subtraction value causes InfluxDB to crash.
Crashing queries were submitted via both the web admin UI and curl. Sample included below.
Example queries:
WORKS
SELECT total.value, total.hostname, idle.value, idle.hostname FROM totalThreads AS total INNER JOIN idleThreads AS idle GROUP BY time(15s);
WORKS
SELECT total.value - idle.value FROM totalThreads AS total INNER JOIN idleThreads AS idle GROUP BY time(15s);
CRASHES
SELECT total.value - idle.value, total.hostname FROM totalThreads AS total INNER JOIN idleThreads AS idle GROUP BY time(15s);
CRASHES
SELECT total.hostname, total.value - idle.value FROM totalThreads AS total INNER JOIN idleThreads AS idle GROUP BY time(15s);
Debug log info from test is available if needed, but it simply cuts off after logging what the requested query string is, no indication of error or warning before the process dies.
(To be clear, I did eventually figure out that the way to get what I wanted was to craft something like this:
select difference(value) from totalThreads merge idleThreads group by time(15s), hostname;
Just wanted to point out that doing it incorrectly causes a crash instead of an error message.)
The text was updated successfully, but these errors were encountered:
cboggs
changed the title
InfluxDB crashes when specifying a text field as a selection either before
InfluxDB crashes with text field select in inner join
Jul 27, 2014
cboggs
changed the title
InfluxDB crashes with text field select in inner join
InfluxDB crashes with text field selected in inner join
Jul 27, 2014
InfluxDB crashes when specifying a text field as a selection either before or after selecting the difference between two fields in an INNER JOIN
When using an INNER JOIN, selecting various component fields works as expected. Likewise, selecting the difference between two fields (eg: select a.value - b.value...) works as expected. Specifying a text field, such as hostname, before or after that type of subtraction value causes InfluxDB to crash.
Crashing queries were submitted via both the web admin UI and curl. Sample included below.
Example queries:
WORKS
WORKS
CRASHES
CRASHES
CRASHES
Quick cURL to generate test data:
Debug log info from test is available if needed, but it simply cuts off after logging what the requested query string is, no indication of error or warning before the process dies.
(To be clear, I did eventually figure out that the way to get what I wanted was to craft something like this:
select difference(value) from totalThreads merge idleThreads group by time(15s), hostname;
Just wanted to point out that doing it incorrectly causes a crash instead of an error message.)
The text was updated successfully, but these errors were encountered: