Skip to content
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(datatypes): implement VectorOp::take #1115

Merged
merged 7 commits into from
Mar 7, 2023

Conversation

e1ijah1
Copy link
Contributor

@e1ijah1 e1ijah1 commented Mar 2, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Add a new method take to VectorOp

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

closes #1054

@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #1115 (c3b8923) into develop (8cd69f4) will decrease coverage by 0.40%.
The diff coverage is 96.95%.

@@             Coverage Diff             @@
##           develop    #1115      +/-   ##
===========================================
- Coverage    85.39%   84.99%   -0.40%     
===========================================
  Files          459      477      +18     
  Lines        66931    70479    +3548     
===========================================
+ Hits         57158    59907    +2749     
- Misses        9773    10572     +799     

@killme2008
Copy link
Contributor

@v0y4g3r @evenyag @waynexia PTAL

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/datatypes/src/vectors/constant.rs Outdated Show resolved Hide resolved
src/datatypes/src/vectors/constant.rs Outdated Show resolved Hide resolved
src/datatypes/src/vectors/constant.rs Show resolved Hide resolved
@e1ijah1 e1ijah1 requested review from v0y4g3r and evenyag and removed request for v0y4g3r March 7, 2023 04:49
Copy link
Contributor

@v0y4g3r v0y4g3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@v0y4g3r v0y4g3r merged commit 819b60c into GreptimeTeam:develop Mar 7, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* feat: add take index method for VectorOp

* chore: make clippy happy

* chore: make clippy happy

* chore: improve the code

* chore: improve the code

* chore: add take null test

* chore: fix clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement VectorOp::take
4 participants