You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "LiangDai-Mars (via GitHub)" <gi...@apache.org> on 2026/01/13 08:49:46 UTC

[PR] [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect. [paimon]

LiangDai-Mars opened a new pull request, #7025:
URL: https://github.com/apache/paimon/pull/7025

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Linked issue: close #xxx
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   


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

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


Re: [PR] [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect. [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed pull request #7025: [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect.
URL: https://github.com/apache/paimon/pull/7025


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

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


Re: [PR] [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect. [paimon]

Posted by "LiangDai-Mars (via GitHub)" <gi...@apache.org>.
LiangDai-Mars commented on PR #7025:
URL: https://github.com/apache/paimon/pull/7025#issuecomment-3743121438

   @JingsongLi  We found that when we using distinct collect agg, if some key only has single array record which deduplicated elements, it will return the initial array without removing duplicates. Please review the fix PR since it change the default logic of merge function.
   cc @Aitozi 


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

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


Re: [PR] [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect. [paimon]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #7025:
URL: https://github.com/apache/paimon/pull/7025#issuecomment-4402156807

   This pull request has had no activity for 90 days. If you'd like to keep it open, please push a new commit or leave a comment. Thanks for the contribution.


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

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


Re: [PR] [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect. [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #7025:
URL: https://github.com/apache/paimon/pull/7025#issuecomment-3762649342

   So perhaps we need to let the wrapper itself know whether the MergeFunction it wraps needs to be forced to merge, which may be communicated through a method interface.


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

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


Re: [PR] [Core][BUG-FIX] Fix distinct collect agg bug of un-merged initial collect. [paimon]

Posted by "LiangDai-Mars (via GitHub)" <gi...@apache.org>.
LiangDai-Mars commented on PR #7025:
URL: https://github.com/apache/paimon/pull/7025#issuecomment-3766727803

   > So perhaps we need to let the wrapper itself know whether the MergeFunction it wraps needs to be forced to merge, which may be communicated through a method interface.
   
   So you mean we support a new method such as "forceMergeIntialValue" on org.apache.paimon.mergetree.compact.MergeFunctionWrapper?


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

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