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: return new added columns in region server's extension response #3533

Merged
merged 13 commits into from Mar 23, 2024

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Mar 18, 2024

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

Bump proto dep.

Return the new physical columns to create logical requests and alter logical requests. This patch also changes how the logical columns in a logical table are ordered. They are ordered by column name now instead of column id, since metasrv don't have the correct column id and would be removed soon by #2982

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@waynexia waynexia marked this pull request as draft March 18, 2024 08:29
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Mar 18, 2024
@waynexia waynexia changed the title feat: return new added columns feat: return new added columns in region server's extension response Mar 18, 2024
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@waynexia waynexia marked this pull request as ready for review March 19, 2024 12:42
src/operator/src/insert.rs Outdated Show resolved Hide resolved
src/metric-engine/src/engine.rs Show resolved Hide resolved
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 94.61078% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 85.04%. Comparing base (856a4e1) to head (cc20952).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3533      +/-   ##
==========================================
- Coverage   85.37%   85.04%   -0.34%     
==========================================
  Files         910      911       +1     
  Lines      152031   152425     +394     
==========================================
- Hits       129797   129624     -173     
- Misses      22234    22801     +567     

src/common/meta/src/datanode_manager.rs Outdated Show resolved Hide resolved
src/metric-engine/src/engine/create.rs Outdated Show resolved Hide resolved
src/metric-engine/src/engine/create.rs Show resolved Hide resolved
waynexia and others added 6 commits March 21, 2024 14:27
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Copy link
Collaborator

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@fengjiachun fengjiachun added this pull request to the merge queue Mar 23, 2024
Merged via the queue into GreptimeTeam:main with commit 2b2fd80 Mar 23, 2024
18 checks passed
@waynexia waynexia deleted the return-alter branch March 23, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants