Skip to content

Commit

Permalink
add drop (Tomme#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicor88 committed Jan 10, 2023
1 parent 1281338 commit 868b1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/athena/query_headers.py
Expand Up @@ -16,7 +16,7 @@ def add(self, sql: str) -> str:

# alter or vacuum statements don't seem to support properly query comments
# let's just exclude them
if any(map(sql.lower().__contains__, ["alter", "vacuum"])):
if any(map(sql.lower().__contains__, ["alter", "drop", "vacuum"])):
return sql

cleaned_query_comment = self.query_comment.strip().replace("\n", " ")
Expand Down

0 comments on commit 868b1dd

Please sign in to comment.