lhofhansl opened a new pull request #1189:
URL: https://github.com/apache/phoenix/pull/1189


   See Jira.
   
   the OrderedResultIterator will store topN values in either a BufferedQueue 
or a SizeBoundQueue. Each limit the memory used to the passed thresholdBytes 
(default is 20MB), the BufferQueue will spool to disk when reaching that size, 
SizeBoundQueue will fail.
   
   Hence we additionally limit the worst case memory consumption to 
thresholdBytes.
   
   I noticed this when implementing limit and topN pushdown for the Trino 
Phoenix connector: https://github.com/trinodb/trino/pull/7490


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

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


Reply via email to