-
Notifications
You must be signed in to change notification settings - Fork 1
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
investigate sqlite3 vs pysqlite3-binary difference #98
Comments
I first repro this with 3.39.0 (pysqlite3-binary 0.4.7post6) |
Hm, I think the new behaviour is by design :( See https://sqlite.org/forum/forumpost/c96206d45c6122e1c81fc18d220fd3d5e183aac9f08294fb242671398090a44d |
The gist seems to be: the JSON functions can introduce a new JSON type (as opposed to the standard REAL, TEXT, BLOB, etc). This type was previously allowed to escape subqueries, which introduced the opportunity for inconsistency. It no longer is permitted to do that, and is serialized as a string when it escapes. Can we get the same behaviour by explicitly casting to text? |
Gives this output:
This was the root cause of #97
The text was updated successfully, but these errors were encountered: