You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlalchemy-bigquery does not support sa.JSON() column type. BigQuery has natively supported the JSON type since 2022, but the SQLAlchemy dialect's BigQueryTypeCompiler has no visit_JSON method.
Error
sqlalchemy.exc.UnsupportedCompilationError: Compiler <sqlalchemy_bigquery.base.BigQueryTypeCompiler>
can't render element of type JSON
This occurs when running Alembic migrations that include sa.Column("my_col", sa.JSON(), ...) against BigQuery.
Activity
[-]sqlalchemy-bigquery: BigQueryTypeCompiler missing visit_JSON — cannot render sa.JSON() columns[/-][+]sqlalchemy-bigquery: BigQueryTypeCompiler missing visit_JSON[/+]feat(sqlalchemy-bigquery): add JSON type support
feat(sqlalchemy-bigquery): add JSON type support
parthea commentedon Sep 8, 2026
Completed in #16733