Harsh8084 commented on issue #21051:
URL: https://github.com/apache/datafusion/issues/21051#issuecomment-4105360579

   ​Appreciate the guidance! To minimize disruption, I’m planning to:
   ​Introduce a BoundedDistinctAccumulator that only triggers when the physical 
plan detects a limit requirement.
   ​Use a simple threshold check that stops insertions once we hit N+1.
   ​Does it make sense to you to handle this via a specialized accumulator, or 
would you prefer a flag on the existing one? I want to ensure the 'non-special' 
path stays as lean as possible.
   @alamb 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to