Closed evanxg852000 closed 1 month ago
As reported by the issue, queries involving JSON & JSONB conversion are not supported.
SELECT "varchar_column"::JSON FROM predictions;
The DataType::Utf8 and DataType::LargeUtf8 were not handled for JSONBOID and JSONOID.
DataType::Utf8
DataType::LargeUtf8
JSONBOID
JSONOID
Modified supabase-wrappers to have separate cell types for Json and JsonB. Then mapped them in cell.rs.
supabase-wrappers
Json
JsonB
cell.rs
Added a basic test See tests in tests/json.rs
tests/json.rs
All committers have signed the CLA.
Drafting until someone picks it up
Ticket(s) Closed
What
As reported by the issue, queries involving JSON & JSONB conversion are not supported.
Why
The
DataType::Utf8
andDataType::LargeUtf8
were not handled forJSONBOID
andJSONOID
.How
Modified
supabase-wrappers
to have separate cell types forJson
andJsonB
. Then mapped them incell.rs
.Tests
Added a basic test See tests in
tests/json.rs