Tan-JiaLiang commented on PR #6193:
URL: https://github.com/apache/paimon/pull/6193#issuecomment-3265032156

   > I remember that when DV is turned on, the returns are out of order, not 
sorted by primary key.
   
   Why is it out of order?
   IMO, it will sort by the primary keys in a single DataFile, and using the 
deletion-vector to mark its deleted row id.
   
   The mainly idea on this PR is to convert the TopN primary keys predicate 
into limit predicate when reading a single DataFile, then the compute engine 
(e.g. Apache Spark) will do the Global TopN.


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