From fbe5e0949b863334d02b5ad9ecac55ec8fc4debb Mon Sep 17 00:00:00 2001 From: Vibhatha Lakmal Abeykoon Date: Mon, 5 Sep 2022 16:41:51 +0530 Subject: [PATCH] feat: add string_agg aggregate function (#297) --- extensions/functions_string.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/extensions/functions_string.yaml b/extensions/functions_string.yaml index 220755e45..f37b914c5 100644 --- a/extensions/functions_string.yaml +++ b/extensions/functions_string.yaml @@ -1263,3 +1263,19 @@ scalar_functions: - value: i32 name: "count" return: "string" + +aggregate_functions: + + - + name: string_agg + description: Concatenates a column of string values with a separator. + impls: + - args: + - value: "string" + name: "input" + description: "Column of string values." + - value: "string" + name: "separator" + constant: true + description: "Separator for concatenated strings" + return: "string" \ No newline at end of file