[
https://issues.apache.org/jira/browse/FLINK-27958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-27958:
-----------------------------------
Labels: pull-request-available (was: )
> Compare batch maxKey to reduce comparisons in SortMergeReader
> -------------------------------------------------------------
>
> Key: FLINK-27958
> URL: https://issues.apache.org/jira/browse/FLINK-27958
> Project: Flink
> Issue Type: Improvement
> Components: Table Store
> Reporter: Jingsong Lee
> Priority: Minor
> Labels: pull-request-available
> Fix For: table-store-0.3.0
>
>
> In SortMergeReader, each sub reader is batched reader.
> When adding a new batch to the priority queue, we can look at the maximum key
> of the batch, and if its maximum key is smaller than the minimum key of other
> batches, then we can just output the whole batch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)