chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852)

This commit is contained in:
Evan Rusackas
2023-01-26 11:48:41 -07:00
committed by GitHub
parent 446d1779e1
commit 6998f65e1d
14 changed files with 20 additions and 20 deletions

View File

@@ -111,7 +111,7 @@ def run_sql(
def drop_table_if_exists(table_name: str, table_type: CtasMethod) -> None:
"""Drop table if it exists, works on any DB"""
sql = f"DROP {table_type} IF EXISTS {table_name}"
sql = f"DROP {table_type} IF EXISTS {table_name}"
database = get_example_database()
with database.get_sqla_engine_with_context() as engine:
engine.execute(sql)