-
Notifications
You must be signed in to change notification settings - Fork 141
Description
Hello all, I'd like to request support for building CREATE OR REPLACE EXTERNAL TABLE statements in bigquery_sqlalchemy in a similar manner to SQLAlchemy core.
I often use SQLAlchemy core to build SQL queries to execute against BigQuery. For simpler DDL/DML use cases, compiling with BigQueryDialect works great! But for some more specific features of BigQuery, like making external tables, I end up building queries as text/strings, which is not ideal, as I tend to want to avoid templating SQL strings.
Many sqlalchemy extension libraries provide helpers to build queries for their more bespoke functions, such as copying tables to CSVs in Snowflake. It would be nice to have this sort of helper for building external table creation queries in bigquery_sqlalchemy.