feat(inverted_index.create): add external sorter#3
Closed
zhongzc wants to merge 26 commits intozhongzc/inverted-index-create-intermediatefrom
Closed
feat(inverted_index.create): add external sorter#3zhongzc wants to merge 26 commits intozhongzc/inverted-index-create-intermediatefrom
zhongzc wants to merge 26 commits intozhongzc/inverted-index-create-intermediatefrom
Conversation
2 tasks
b770ddc to
0547965
Compare
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
…ls to poll Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
63cb5bd to
3bc75de
Compare
* fix: typos and bit operation * fix: helper * chore: add tests in decimal128.rs and interval.rs * chore: test * chore: change proto version * chore: clippy
* feat: adds engines table to information_schema * feat: adds COLUMN_PRIVILEGES and COLUMN_STATISTICS * feat: refactor memory tables * chore: rename memory_tables * test: adds unit tests * chore: format * chore: style * fix: by cr comments * refactor: tables
* refactor: make sequence bounded with max value (cherry picked from commit 3a8eba6) * fix: resolve PR comments
fix: remove range calendar as `To` option
…2943) * implementation Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * initialize Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * remove empty file Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * apply review sugg Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
… files (GreptimeTeam#2942) * feat(inverted_index.create): add read/write for external intermediate files Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: MAGIC_CODEC_V1 -> CODEC_V1_MAGIC Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: polish comments Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: fix typos intermedia -> intermediate Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * fix: typos Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: futures_code -> asynchronous_codec Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: bump bytes to 1.5 Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
…ndex-create-sorter
e971661 to
42e2835
Compare
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
6c87118 to
6cd5cea
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Sortertrait for handling sorting of incremental input.ExternalSorterimplementation, together with the dependencyExternalTempFileProviderto enable access to external files. TheExternalSorterwill employ external sorting, has a parametermemory_usage_threshold, and tracks memory usage to ensure that the sorting is completed with a minimal memory footprint.Checklist
Refer to a related PR or issue link (optional)