Skip to content

Commit

Permalink
commit empty table creation for databricks
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed Jul 3, 2024
1 parent 3746eb7 commit ba93985
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions defog/admin_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ def create_empty_tables(self, dev: bool = False):

con = sql.connect(**self.db_creds)
con.execute(ddl)
conn.commit()
conn.close()
return True
elif self.db_type == "snowflake":
import snowflake.connector
Expand Down

0 comments on commit ba93985

Please sign in to comment.