Open caiopizzol opened 12 months ago
Looks like default dialect for SQLalchemy and spanner-wrapper is PostgreSQL. Didn't find any options to switch it to GoogleSQL. Custom functions using text() might work, but definitely missing feature in the library.
+1 to the request
P.S. My usecase has the same issue, but is related to the ANY (in PostgreSQL) vs ARRAY_INCLUDES_ANY (in GoogleSQL)
Environment details
python
13.4 (22F66)
3.11
sqlalchemy-spanner==1.6.1
SQLAlchemy==2.0.15
Steps to reproduce
Create an update/insert statement
Generated SQL statement
Expected GoogleSQL statement ref: https://cloud.google.com/spanner/docs/reference/standard-sql/dml-syntax#insert-and-then-return