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
Use turbo json blobs not inserting? #1441
Comments
I tried looking into the code and I can see that it uses v1.0.0 of simdjson, which is now at version 3.x. I briefly looked though the issues and saw that between 1.0.0 and the current there are some json parsing bugs that were fixed. I'm wondering if it is that? Is there any chance we have the dependency of simdjson updated? |
Looking into it further I can see in the shared Database.cpp file, when setting a breakpoint, at this code
I can see the stringView has the data, but it size/capacity is 0 which is what is causing the bug I assume |
@CDBridger Hey, that's very strange, can you see if the latest 0.26 pre-release fixes the issue? I've updated simdjson to the latest version |
cheers, I'll have a look and report back. |
Looks like its solved, sorry it took so long, been very busy on multiple other projects. |
when we turned on use turbo one of the tables columns seemed to just come up blank. It was a column which stored some json blobs as strings. The funny thing is we have another table which has pretty much the same schema which is doesn't have the issue we are seeing.
Here is an example of data that we have the turbo on for the initial sync:
in the object above the property "dataProps" always gets inserted as null, for every entry in that table.
the object above is from another table and it works fine.
EDIT: I've extracted and formatted these objects for the sake of this post. when we use turbo it comes as a 70mb string.
The text was updated successfully, but these errors were encountered: