We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61b1294 commit 07dcc62Copy full SHA for 07dcc62
1 file changed
abstra_json_sql/apply.py
@@ -321,7 +321,7 @@ def apply_expression(expression: Expression, ctx: dict):
321
assert (
322
len(expression.args) == 2
323
), "String_agg function requires two arguments"
324
- separator = expression.args[1].value
+ separator = apply_expression(expression.args[1], ctx)
325
return separator.join(
326
str(apply_expression(expression.args[0], {**ctx, **row}))
327
for row in ctx["__grouped_rows"]
0 commit comments