forked from GreptimeTeam/greptimedb
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(inverted_index.create): add external sorter #3
Closed
zhongzc
wants to merge
26
commits into
zhongzc/inverted-index-create-intermediate
from
zhongzc/inverted-index-create-sorter
Closed
feat(inverted_index.create): add external sorter #3
zhongzc
wants to merge
26
commits into
zhongzc/inverted-index-create-intermediate
from
zhongzc/inverted-index-create-sorter
Conversation
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
2 tasks
zhongzc
force-pushed
the
zhongzc/inverted-index-create-sorter
branch
2 times, most recently
from
December 16, 2023 09:29
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>
zhongzc
force-pushed
the
zhongzc/inverted-index-create-sorter
branch
from
December 16, 2023 11:40
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
zhongzc
force-pushed
the
zhongzc/inverted-index-create-sorter
branch
from
December 18, 2023 10:09
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>
zhongzc
force-pushed
the
zhongzc/inverted-index-create-sorter
branch
from
December 19, 2023 07:29
6c87118
to
6cd5cea
Compare
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?
Sorter
trait for handling sorting of incremental input.ExternalSorter
implementation, together with the dependencyExternalTempFileProvider
to enable access to external files. TheExternalSorter
will 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)