-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Pinot currently has a multi-value column type: which essentially is a ordered, bag-of-elements, set data structure.
However, many requirement comes in to ask for proper array support (see #6083)
This proposal is for proper array/list type as a separate DataType.
- conversion between MV and Array/List type should be supported (
CAST)- NOTE: as @Jackie-Jiang mentioned, we can directly operate on MV columns since they are ordered arrays
- array operations should be done on array type, including
- predicates (
match_all,match_none,match_anyorcontains) - whole array operations producing a single value (
sum/min/max/cardinality)- cardinality supported in: [array] add cardinality function #9300; sum/min/max already supported in Adding array transform functions: array_average, array_max, array_min, array_sum #6084
- element-wise operations (such as
filter,transform) - indexed access (
arr[1]orelement_at)
- predicates (
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels