You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "759434091 (via GitHub)" <gi...@apache.org> on 2025/11/08 14:10:36 UTC

[I] [Feature] Add distinct parameter support to FieldListaggAgg operator [paimon]

759434091 opened a new issue, #6567:
URL: https://github.com/apache/paimon/issues/6567

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.
   
   
   ### Motivation
   
   Users often store complex data such as `user1, user2, user3` as simple string rather then complex date type (map,array).
   When aggregating these fields, there is currently no support for deduplication `set.add`.
   
   
   ### Solution
   
   Add a `distinct` option support to FieldListAgg?
   
   ### Anything else?
   
   This approach works fine for `user1,user2,user3`, but it's insufficient for kv-string deduplication (k1=v1;k2=v2). I'm not sure whether to handle this with string manipulation or a map-merge aggregation approach.
   
   
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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: issues-unsubscribe@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org