Value

In the GROUP BY operator, the Value partitioning function allows you to partition elements according to a grouping key.

If the grouping key is a list, the Collection policy specifies how to handle it with one of the following values.

See Also
GROUP BY
Expression Language
Defining Data Queries
Value Description
List (default value) The operator uses the list as a grouping key entirely. For example, one group for ["a", "b"], another for one ["a", "c"], etc.
Each Element The operator uses each item of the list as a grouping key separately. For example, an element with ["a", "b", "c"] appears in 3 partitions: "a", "b", and "c".
Each Sublist The operator uses each prefix sublist of the list as a grouping key separately. For example, an element with ["a", "b", "c"] appears in 3 partitions: ["a"], ["a", "b"], and ["a", "b", "c"]