Github user kl0u commented on the issue:
https://github.com/apache/flink/pull/3961
Hi @dawidwys ! Your understanding is correct in the sense that it does not
leverage to the fullest the fact of keys being returned in order. The reason is
that this is valid only in RocksDB state backend.
But when it comes to insertion to the PriorityQueue, this can come in handy
as inserting will be fast. In addition, as you said, we only deserialize the
values we need, when we need them, instead of everything all the time.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---