Skip to content

Commit

Permalink
refactor: clean up lit usage
Browse files Browse the repository at this point in the history
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
  • Loading branch information
cpcloud and gforsyth committed Oct 11, 2023
1 parent ea0826d commit 1bc6cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ibis/backends/clickhouse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,8 @@ def create_table(
expressions=[
sg.exp.SetItem(
this=sg.exp.EQ(
this=sg.to_identifier(name), expression=lit(value)
this=sg.to_identifier(name),
expression=sg.exp.convert(value),
)
)
for name, value in settings.items()
Expand Down

0 comments on commit 1bc6cee

Please sign in to comment.