influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

White space in CSV annotations cause Invalid Argument Errors

Open idclark opened this issue 2 years ago • 0 comments

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

idclark avatar Jan 25 '23 16:01 idclark