Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed Jan 9, 2024
1 parent d81376d commit 661c320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defog/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def execute_query_once(db_type: str, db_creds, query: str):
from databricks import sql
except:
raise Exception("databricks-sql-connector not installed.")
conn = sql.connect(db_creds)
conn = sql.connect(**db_creds)
with conn.cursor() as cursor:
cursor.execute(query)
colnames = [desc[0] for desc in cursor.description]
Expand Down

0 comments on commit 661c320

Please sign in to comment.