sqlalchemy-databricks icon indicating copy to clipboard operation
sqlalchemy-databricks copied to clipboard

Alembic Support

Open harry19023 opened this issue 3 years ago • 2 comments

Overrides two methods from the HiveDialect:

  • has_table: Databricks raises a different exception if a table doesn't exist
  • visit_primary_key_constraint: Databricks doesn't support PK when creating tables

harry19023 avatar May 23 '22 21:05 harry19023

@crflynn is there anything else I should add to get this merged in?

harry19023 avatar Jun 02 '22 15:06 harry19023

Hey I haven't had the chance to review / test yet. I will get to it hopefully by next week.

crflynn avatar Jun 02 '22 16:06 crflynn