-
Notifications
You must be signed in to change notification settings - Fork 206
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: impl key partition rule #507
Merged
Merged
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
Rachelint
force-pushed
the
impl-key-partition-rule
branch
2 times, most recently
from
December 24, 2022 10:37
7f1635a
to
b0c21e2
Compare
ZuLiangWang
reviewed
Dec 26, 2022
chunshao90
reviewed
Dec 26, 2022
Rachelint
force-pushed
the
impl-key-partition-rule
branch
2 times, most recently
from
December 27, 2022 05:28
7f78909
to
45d6ac1
Compare
chunshao90
force-pushed
the
impl-key-partition-rule
branch
from
December 27, 2022 07:08
45d6ac1
to
6a26d7d
Compare
chunshao90
approved these changes
Dec 27, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ShiKaiWi
reviewed
Dec 27, 2022
pub trait FilterExtractor: Send + Sync + 'static { | ||
fn extract(&self, filters: &[Expr], columns: &[String]) -> Vec<PartitionFilter>; | ||
} | ||
pub struct KeyExtractor; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add one more newline above.
ShiKaiWi
added a commit
that referenced
this pull request
Dec 27, 2022
* refactor: separate object store from parquet sst async reader (#503) * refactor: separate object store from parquet sst async reader * fix errors in unit tests * use const FOOTER_LEN * add GenericResult * refactor: recovery in standalone mode (#414) * refactor recovery in standalone mode. * make getting table infos dynamically. * define `LocalTablesRecoverer`. * address CR. * feat: support parse key partition (#506) * add key partition parser * refactor the codes * add unit test * fix show create table for partition table * address CR issues * supplement the error msg when fail to parse partition key * fix unit tests Co-authored-by: CooooolFrog <zuliangwanghust@gmail.com> * chore: define remote_engine grpc service (#505) Co-authored-by: kamille <34352236+Rachelint@users.noreply.github.com> * feat: impl key partition rule (#507) * impl key partition rule(draft). * refactor to more extensible and testable version. * add tests for key partition. * add df adapter and partition rule's building. * address CR. Co-authored-by: WEI Xikai <ShiKaiWi@users.noreply.github.com> Co-authored-by: kamille <34352236+Rachelint@users.noreply.github.com> Co-authored-by: CooooolFrog <zuliangwanghust@gmail.com> Co-authored-by: chunshao.rcs <chunshao.rcs@antgroup.com>
chunshao90
pushed a commit
to chunshao90/ceresdb
that referenced
this pull request
May 15, 2023
* impl key partition rule(draft). * refactor to more extensible and testable version. * add tests for key partition. * add df adapter and partition rule's building. * address CR.
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.
Which issue does this PR close?
Closes #
Part of #492
Rationale for this change
Implement partition rule for key partition.
What changes are included in this PR?
See above.
Are there any user-facing changes?
None.
How does this change test
Test by ut.