forked from GreptimeTeam/greptimedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support scanning the mutable part (GreptimeTeam#4)
* feat: Implement iter for merge tree memtable * feat: define iter * feat: expose VectorOp * feat: allow clone primitive and binary vector * feat: prune plain vectors * feat: sort and dedup * feat: finish scan part * feat: impl iter for the memtable * style: fix clippy * chore: todo * chore: remove comment * refactor: move test fn to memtable_util * test: add tests and fix tests issues * chore: fix compiler issues * feat: remove dict block * feat: implement is_empty * feat: implement mark_immutable() * refactor: rename schema_for_test to metadata_for_test * fix: iter issues with the merge tree * test: test projection * fix: iter return empty if no primary key * fix: dedup without pk * test: test projection for no pk * fix: do not filter deleted in memtable * feat: metrics for scan * fix: num rows metrics without prunning * perf: avoid converting batch if nothing to prune * fix: add primary key usage to key_bytes
- Loading branch information
Showing
11 changed files
with
1,058 additions
and
338 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
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
Oops, something went wrong.