Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-6656] [cep] Change element PriorityQueue to MapState.
This is to leverage the fact that RocksDB already returns the keys sorted. So now elements, instead of being stores in a PQ and all of them being deserialized and serialized at each incoming element, the are stored in a MapState with the key being the timestamp and the value, a List of elements that refer to the same timestamp.
- Loading branch information
Showing
5 changed files
with
118 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+62 Bytes
(100%)
flink-libraries/flink-cep/src/test/resources/cep-keyed-1_1-snapshot
Binary file not shown.
Binary file modified
BIN
+62 Bytes
(100%)
flink-libraries/flink-cep/src/test/resources/cep-non-keyed-1.1-snapshot
Binary file not shown.