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: fix alter table verification #2437

Merged
merged 5 commits into from
Sep 19, 2023

Conversation

WenyXu
Copy link
Member

@WenyXu WenyXu commented Sep 19, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

  1. fix alter table verification
  2. move AlterTable UpdateMetadata to last step

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)

fix #2425

@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Merging #2437 (79233f7) into develop (5805e8d) will decrease coverage by 0.21%.
Report is 6 commits behind head on develop.
The diff coverage is 85.03%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2437      +/-   ##
===========================================
- Coverage    77.70%   77.50%   -0.21%     
===========================================
  Files          730      717      -13     
  Lines       115885   112479    -3406     
===========================================
- Hits         90047    87172    -2875     
+ Misses       25838    25307     -531     

src/table/src/metadata.rs Outdated Show resolved Hide resolved
Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.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

src/table/src/metadata.rs Show resolved Hide resolved
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
@fengjiachun fengjiachun added this pull request to the merge queue Sep 19, 2023
Merged via the queue into GreptimeTeam:develop with commit 339e12c Sep 19, 2023
11 checks passed
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* fix: fix verify alter

* refactor: move AlterTable UpdateMetadata to last step

* refactor: send region request in parallel

* Update src/table/src/metadata.rs

Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com>

* Update src/table/src/metadata.rs

Co-authored-by: JeremyHi <jiachun_feng@proton.me>

---------

Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
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.

Table broken after running incorrect alter statement (standalone mode) ?
5 participants