You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2022/07/04 10:02:00 UTC

[jira] [Updated] (FLINK-27958) Compare batch maxKey to reduce comparisons in SortMergeReader

     [ https://issues.apache.org/jira/browse/FLINK-27958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jingsong Lee updated FLINK-27958:
---------------------------------
    Priority: Minor  (was: Major)

> 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
>             Fix For: table-store-0.2.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)