influx-cli
influx-cli copied to clipboard
White space in CSV annotations cause Invalid Argument Errors
More of a nit than a critical bug. Take an example annotation such as:
#datatype measurement, double, double, double
measurement,x,y,z
demo,-0.514,0.070,1.672
executing influx write ... will return "unsupported data type ' double'"
This can be remediated by simply removing the whitespace from the annotation row:
#datatype measurement,double,double,double
I wonder if there's a quick fix in normalizeNumberString