zhangyue19921010 opened a new pull request, #11256:
URL: https://github.com/apache/paimon/pull/11256

   ### Purpose
   
   Distinct listagg retains duplicate tokens from the first input: merging 
`"a,a"` and `"b"` produces `"a,a,b"`, including after full compaction. 
Normalize the accumulator before appending unseen tokens, including when 
partial-update sequence groups reverse the inputs. Keep non-distinct and 
empty-delimiter behavior unchanged.
   
   Fixes #11255
   
   ### Tests
   
   `PrimaryKeyListaggDistinctTest` covers aggregation and partial-update 
tables, same/separate commits, custom delimiters, reversed sequence groups, and 
full compaction, with non-distinct and empty-delimiter controls.
   
   On unchanged master `79b8ec4788`, 12 regression cases fail and 6 
compatibility controls pass. With this change, all 38 selected table, listagg, 
and partial-update tests pass on JDK 11. Normal Maven `verify` also passes 
Checkstyle, Spotless, Enforcer, and RAT.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to