Open forksumit opened 1 week ago
Spanner lib returns a JsonObject when datatype is JSON, spanner dialect again tries to deserialize the same via JsonObject() which returns an improper object
Related issue: https://github.com/googleapis/python-spanner/issues/1154
When inserting
list<dict>
(ex:[{"a": "b"}, {"x": "y"}]
) into a JSON type via SQLAlchemy, insert works fine but when reading the same record, it gets deserialized to an empty JsonObject ({}
)Environment details
Steps to reproduce
Expected Output:
Got Output: