Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address comment
  • Loading branch information
srilman committed Mar 23, 2025
commit 43ac041ffd75a4e872c23e85a4a352a7a402e9f0
3 changes: 0 additions & 3 deletions pyiceberg/catalog/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,8 @@ def drop_namespace(self, namespace: str | Identifier) -> None:
)

sf_query = "DROP SCHEMA IF EXISTS (%s)"
db_query = "DROP DATABASE IF EXISTS (%s)"

with self.connection.cursor(DictCursor) as cursor:
if sf_identifier.database:
cursor.execute(db_query, (sf_identifier.database,))
cursor.execute(sf_query, (sf_identifier.schema_name,))

def list_tables(self, namespace: str | Identifier) -> list[Identifier]:
Expand Down