alamb commented on issue #7910: URL: https://github.com/apache/arrow-datafusion/issues/7910#issuecomment-1776021281
> isn't string_agg is an aggregate function similar to ARRAY_AGG which is already a supported function? You are right, that makes sense. I tried it out: ``` ❯ create table t as values (make_array([1], [2,3], [4])), (make_array([5], [6])); 0 rows in set. Query took 0.001 seconds. ❯ select * from t; +--------------------+ | column1 | +--------------------+ | [[1], [2, 3], [4]] | | [[5], [6]] | +--------------------+ 2 rows in set. Query took 0.001 seconds. ❯ select array_agg(column1) from t; +----------------------------------+ | ARRAY_AGG(t.column1) | +----------------------------------+ | [[[1], [2, 3], [4]], [[5], [6]]] | +----------------------------------+ 1 row in set. Query took 0.004 seconds. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
