-
Notifications
You must be signed in to change notification settings - Fork 45
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
string and double not working #161
Comments
(As mentioned in the other ticket) Please verify the unit tests work on your system (eg. Do you have a minimal example to reproduce the issue? And what kind of error do you get? |
I tried |
influx-cxx [treatCurlResponse]: Bad request: 422 |
I print the lines in the batch before sending them:
|
You are right, it's unittest (with 2x 't') :-) It's necessary to run it within your build directory as it's a make target. Note: Tests need to be enabled (aka. not disabled). |
One more thing you should try: Write to new an completely fresh database. |
yeah I also tried unittest and also from my build folder, but I don't know how to not disable the tests. I just cloned the project and added this to my CMakeLists.txt file:
|
I see, tests are disabled if included as subdirectory. So it might be easier to test a minimal example with a fresh database first. |
writing to a new bucket worked for double and didn't work for string. then another new bucket worked for string. |
Are you mixing types within the same field? |
ah, yes, I use the same measurement for the different types. I'll try different ones! |
seems to work, thanks! |
and
don't work.
Does work and I see the data in the db.
The text was updated successfully, but these errors were encountered: