Is there a way to only select the first value of a...
# troubleshooting
a
Is there a way to only select the first value of a multi-valued column?
m
In a selection query or for applying predicate/ aggregation?
a
Both.
Use Case: I have a multivalued column, but I want to aggregate based on only the first value in the column (trying to replicate querying in a dataset that already exists)
k
May be add an udf to select the first element
For now , you can use groovy udf as work art