Skip to content

Commit 8105a09

Browse files
committed
fix(bigquery): adjust codegen for newer version of sqlglot
1 parent 365c157 commit 8105a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/backends/sql/compilers/bigquery/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def visit_GroupConcat(self, op, *, arg, sep, where, order_by):
391391
arg = self.if_(where, arg, NULL)
392392

393393
if order_by:
394-
sep = sge.Order(this=sep, expressions=order_by)
394+
arg = sge.Order(this=arg, expressions=order_by)
395395

396396
return sge.GroupConcat(this=arg, separator=sep)
397397

0 commit comments

Comments
 (0)