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
System info: Most recent docker-compose Influx TICK stack, thus Influx 1.3.5. Operating System: Windows 10. Runs a Ubuntu in VirtualBox which in turns runs docker-compose TICK stack. Bugreport from Influx-CLI execution. But reproduced with calls to REST API directly.
Steps to reproduce:
Create a set of dummy measurements in line protocol and import them to influxdb:
Now query on that data using regular expressions for measurement names like so:
SELECT * FROM /.*/
Expected behavior:
An output containing all measurements with all values. (Just a dump from my database). Like so:
name: node_1_flaeche
time value
---- -----
1483228800000000000 42
1496275200000000000 100
name: node_2_vorwiderstand
time value
---- -----
1488326400000000000 83
name: node_3_flaeche
time value
---- -----
1483228800000000000 33
1498867200000000000 42
name: node_4_flaeche
time value
---- -----
1451606400000000000 22
**name: node_5_name
time value
---- -----
1483269071000000000 Arthur Woll Haus
1510398671000000000 Hans Rüdiger Eßmann Gedenkstätte**
Actual behavior:
I get all measurement without the one having string fields:
name: node_1_flaeche
time value
---- -----
1483228800000000000 42
1496275200000000000 100
name: node_2_vorwiderstand
time value
---- -----
1488326400000000000 83
name: node_3_flaeche
time value
---- -----
1483228800000000000 33
1498867200000000000 42
name: node_4_flaeche
time value
---- -----
1451606400000000000 22
Additional info:
Interestingly, if my regular expression matches only the measurement with the string valued field, it matches:
> SELECT * FROM /node_5.*/
name: node_5_name
time value
---- -----
1483269071000000000 Arthur Woll Haus
1510398671000000000 Hans Rüdiger Eßmann Gedenkstätte
But if it contains different valued fields, it just doesn't include the string one:
> SELECT * FROM /node_[345].*/
name: node_3_flaeche
time value
---- -----
1483228800000000000 33
1498867200000000000 42
name: node_4_flaeche
time value
---- -----
1451606400000000000 22
The text was updated successfully, but these errors were encountered:
So it looks like this is because you have multiple measurements and the measurements have the same field value, but the types are different. InfluxQL only allows a field to have one type and it will choose one and drop types that can't be cast to the type. The priority is float, integer, string, and then boolean. So in this case, it would drop the string values.
Bug report
System info: Most recent docker-compose Influx TICK stack, thus Influx 1.3.5. Operating System: Windows 10. Runs a Ubuntu in VirtualBox which in turns runs docker-compose TICK stack. Bugreport from Influx-CLI execution. But reproduced with calls to REST API directly.
Steps to reproduce:
Create a set of dummy measurements in line protocol and import them to influxdb:
and
Now query on that data using regular expressions for measurement names like so:
Expected behavior:
An output containing all measurements with all values. (Just a dump from my database). Like so:
Actual behavior:
I get all measurement without the one having string fields:
Additional info:
Interestingly, if my regular expression matches only the measurement with the string valued field, it matches:
But if it contains different valued fields, it just doesn't include the string one:
The text was updated successfully, but these errors were encountered: