Skip to content

Commit

Permalink
fix(mssql): allow temp=None in create_table
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 28, 2024
1 parent def4d9b commit ee804f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/mssql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def create_table(
raw_table = sg.table(temp_name, catalog=catalog, db=db, quoted=False)
target = sge.Schema(
this=sg.table(
"#" * temp + temp_name, catalog=catalog, db=db, quoted=quoted
"#" * bool(temp) + temp_name, catalog=catalog, db=db, quoted=quoted
),
expressions=schema.to_sqlglot(self.dialect),
)
Expand Down

0 comments on commit ee804f8

Please sign in to comment.