Skip to content

Commit

Permalink
chore: fix sql compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 4, 2024
1 parent 410c20a commit ef21fbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibis/expr/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,5 +384,6 @@ def to_sql(

out = compiler.to_sqlglot(expr.unbind(), **kwargs)
queries = out if isinstance(out, list) else [out]
dialect = compiler.dialect
sql = ";\n".join(query.sql(dialect=dialect, pretty=pretty) for query in queries)
return SQLString(sql)

0 comments on commit ef21fbc

Please sign in to comment.