Creates a list of all non-null grouped values, preserving duplicates.
collect(xs:list) -> listDescription
Section titled “Description”The collect function returns a list of all non-null values in xs, including
duplicates.
xs: list
Section titled “xs: list”The values to collect.
Examples
Section titled “Examples”Collect values into a list
Section titled “Collect values into a list”from {x: 1}, {x: 2}, {x: 2}, {x: 3}summarize values=collect(x){values: [1, 2, 2, 3]}