mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user