Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support alembic column renames #1097

Copy link
Copy link
Closed
@JacobHayes

Description

@JacobHayes
Issue body actions

Is your feature request related to a problem? Please describe.

When renaming a column with alembic, the generated SQL is not valid for BigQuery:

ALTER TABLE `schema`.`table` RENAME `old_name` TO `new_name`

BigQuery expects:

ALTER TABLE `schema`.`table` RENAME COLUMN `old_name` TO `new_name`

Describe the solution you'd like

Override the Alembic ColumnName op to generate the correct syntax.

Describe alternatives you've considered

Define the @compiles(ColumnName, "bigquery") in user code (outside this package)

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-sqlalchemy API.Issues related to the googleapis/python-bigquery-sqlalchemy API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.