InfluxDB: Flux: handle boolean data-columns (#34479)

* InfluxDB: Flux: handle boolean data-columns

* normalize data-type strings based on documentation

* reference missing data type
This commit is contained in:
Gábor Farkas
2021-05-25 17:22:04 +02:00
committed by GitHub
parent adbe383456
commit ab26c4dfa4
6 changed files with 63 additions and 18 deletions
+9
View File
@@ -0,0 +1,9 @@
#group,false,false,true,true,false,false,true,true,true
#datatype,string,long,dateTime:RFC3339,dateTime:RFC3339,dateTime:RFC3339,boolean,string,string,string
#default,_result,,,,,,,,
,result,table,_start,_stop,_time,_value,_field,_measurement,direction
,,0,2021-05-20T08:36:26.7Z,2021-05-20T09:36:26.7Z,2021-05-20T09:35:39.6Z,true,exitcode,x,left
,,0,2021-05-20T08:36:26.7Z,2021-05-20T09:36:26.7Z,2021-05-20T09:35:43.0Z,false,exitcode,x,left
,,1,2021-05-20T08:36:26.7Z,2021-05-20T09:36:26.7Z,2021-05-20T09:35:47.3Z,false,exitcode,x,right
,,1,2021-05-20T08:36:26.7Z,2021-05-20T09:36:26.7Z,2021-05-20T09:35:49.6Z,true,exitcode,x,right
1 #group false false true true false false true true true
2 #datatype string long dateTime:RFC3339 dateTime:RFC3339 dateTime:RFC3339 boolean string string string
3 #default _result
4 result table _start _stop _time _value _field _measurement direction
5 0 2021-05-20T08:36:26.7Z 2021-05-20T09:36:26.7Z 2021-05-20T09:35:39.6Z true exitcode x left
6 0 2021-05-20T08:36:26.7Z 2021-05-20T09:36:26.7Z 2021-05-20T09:35:43.0Z false exitcode x left
7 1 2021-05-20T08:36:26.7Z 2021-05-20T09:36:26.7Z 2021-05-20T09:35:47.3Z false exitcode x right
8 1 2021-05-20T08:36:26.7Z 2021-05-20T09:36:26.7Z 2021-05-20T09:35:49.6Z true exitcode x right