Better JSON in Postgres with PostgreSQL 14
blog.crunchydata.com
blog.crunchydata.com
I agree though that postgres has some fantastic features.
edit: I think they may have addressed some of this in a recent version? I'm basing my knowledge on postgres 12
Other than that, MySQL (since 8.0) has no stable feature releases. As in, after 8.0.0 new features were added in 8.0.x-releases, making it difficult to reason about what you can and cannot do in a given database cluster based on the major version number alone. This too is a blessing and a curse: you get new features faster, but you don't get bugfixes for a database engine with stable and well-defined featureset.
Not MySQL itself but something like Vitess [1]. I believe MySQL 9.0 should be close.
Of course, if you are doing this then you are using your database wrong -- but it's still something that's easy to run into.
https://www.postgresql.org/docs/14/btree-implementation.html...
WHERE details->'attributes'->>'color' = 'neon yellow'
And WHERE details['attributes']['color'] = '"neon yellow"'I assumed that the subscript format was basically preprocessed into the arrow format, but this kind of implies that it's not. It's too bad the point isn't more clear here as I'm curious as well.
Ref: https://www.postgresql.org/docs/current/gin-builtin-opclasse...
You can create a regular btree index on a particular json path and get an index usable for = operations on that path.