We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When defining a table, schemas defined using quoted_name should be present on the migration generated code.
Expected behavior The schema present in the migration file should be defined using quoted_name too
To Reproduce Define a class using the snipped provided, then run alembic revision --autogenerate and check the generated migration operations
alembic revision --autogenerate
from sqlalchemy.orm import DeclarativeBase from sqlalchemy import quoted_name class Base(DeclarativeBase): pass class Example(Base): __table_args__ = {'schema': quoted_name('database.schema', quote=False)} example_field = Column(Integer, primary_key=True)
Actual behaviour
op.create_table('example', sa.Column('example_field', sa.Integer()), sa.PrimaryKeyConstraint('account_id'), schema='database.schema' )
Expected behaviour
op.create_table('example', sa.Column('example_field', sa.Integer()), sa.PrimaryKeyConstraint('account_id'), schema=quoted_name('database.schema', quote=False) )
Versions.
Additional context Im using the databricks sql connector 3.3.0
Have a nice day!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When defining a table, schemas defined using quoted_name should be present on the migration generated code.
Expected behavior
The schema present in the migration file should be defined using quoted_name too
To Reproduce
Define a class using the snipped provided, then run
alembic revision --autogenerate
and check the generated migration operationsActual behaviour
Expected behaviour
Versions.
Additional context
Im using the databricks sql connector 3.3.0
Have a nice day!
The text was updated successfully, but these errors were encountered: