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

fix(mito): incorrect field index in ProjectionMapper #2388

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

evenyag
Copy link
Contributor

@evenyag evenyag commented Sep 14, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This PR fixes the issue that the ProjectionMapper generates incorrect field indices for projected fields.

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)

@evenyag evenyag marked this pull request as ready for review September 14, 2023 03:55
@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #2388 (4054b3d) into develop (d4ae8a6) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2388      +/-   ##
===========================================
- Coverage    77.50%   77.48%   -0.03%     
===========================================
  Files          716      717       +1     
  Lines       113888   113961      +73     
===========================================
+ Hits         88270    88297      +27     
- Misses       25618    25664      +46     

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

Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

feel good to me

@killme2008 killme2008 added this pull request to the merge queue Sep 14, 2023
Merged via the queue into GreptimeTeam:develop with commit a7df5a7 Sep 14, 2023
11 checks passed
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* chore: update todo comments

* test: add test for projection

* fix: panics when projecting fields

* chore: remove todos
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.

3 participants