Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White space in CSV annotations cause Invalid Argument Errors #475

Open
idclark opened this issue Jan 25, 2023 · 0 comments
Open

White space in CSV annotations cause Invalid Argument Errors #475

idclark opened this issue Jan 25, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@idclark
Copy link

idclark commented Jan 25, 2023

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 idclark added the good first issue Good for newcomers label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant