Skip to content

Commit 07dcc62

Browse files
committed
evaluating separator
1 parent 61b1294 commit 07dcc62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

abstra_json_sql/apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def apply_expression(expression: Expression, ctx: dict):
321321
assert (
322322
len(expression.args) == 2
323323
), "String_agg function requires two arguments"
324-
separator = expression.args[1].value
324+
separator = apply_expression(expression.args[1], ctx)
325325
return separator.join(
326326
str(apply_expression(expression.args[0], {**ctx, **row}))
327327
for row in ctx["__grouped_rows"]

0 commit comments

Comments
 (0)