All modern SQL databases implements JSON type field. It supports special column type and a batch of special operation with JSON such as indexing and casting.
SQLAlchemy also supports JSON field and operations with it, so it needs to be implemented in dialect.
In this PR
In this PR the basic JSON type is implemented, also I created a YQLJson type for future extending with special YQL specific things such as Yson::Equals.
Problem
All modern SQL databases implements JSON type field. It supports special column type and a batch of special operation with JSON such as indexing and casting. SQLAlchemy also supports JSON field and operations with it, so it needs to be implemented in dialect.
In this PR
In this PR the basic JSON type is implemented, also I created a YQLJson type for future extending with special YQL specific things such as Yson::Equals.
Example
This SQLAlchemy statement
converts to