Skip to content

Commit

Permalink
Merge pull request #563 from laughingman7743/#562
Browse files Browse the repository at this point in the history
Escape schema and table names in drop statements (fix #562)
  • Loading branch information
laughingman7743 authored Dec 3, 2024
2 parents 6b8f0e9 + ac4e244 commit ee24906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyathena/pandas/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def to_sql(
cursor.execute(
textwrap.dedent(
f"""
DROP TABLE {schema}.{name}
DROP TABLE `{schema}`.`{name}`
"""
)
)
Expand Down

0 comments on commit ee24906

Please sign in to comment.