PyRSA opened a new pull request, #1387:
URL: https://github.com/apache/paimon-rust/pull/1387

   ## Summary
   
   Add `fields.<col>.count-limit` support to the native Collect Aggregator in 
paimon-rust, aligning its behavior with Java Paimon's `FieldCollectAgg`.
   
   ## Changes
   
   - Support positive, negative, and zero count limits.
   - Preserve Java-compatible distinct semantics during accumulator merges.
   - Align forward aggregation and ignore-retract reverse behavior with Java.
   - Handle NULL inputs, retract operations, and edge cases.
   - Add unit tests covering count limits, distinct merges, reverse 
aggregation, and boundary scenarios.
   - Document the `collect` count-limit option in `sql.md`.
   
   ## Compatibility
   
   - Keep the default behavior unchanged when `count-limit` is not configured.
   - No changes to other aggregators.
   - No new dependencies.
   
   ## Testing
   
   - CollectAgg tests: 13 passed.
   - Aggregator regression tests: 115 passed.
   - `validation_table_matches_constructors`: passed.
   - `git diff --check`: passed.


-- 
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