Skip to content

Feature Request: Support for building CREATE OR REPLACE EXTERNAL TABLE statements #372

@colemandsmith

Description

@colemandsmith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery-sqlalchemy API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions