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: implement alter table procedure #1878

Merged

Conversation

WenyXu
Copy link
Member

@WenyXu WenyXu commented Jul 4, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

implement alter table procedure

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)

#1727

@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch 2 times, most recently from 578db81 to 82e4b0f Compare July 5, 2023 07:10
@WenyXu WenyXu marked this pull request as ready for review July 5, 2023 07:11
@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch from 82e4b0f to 4789c4c Compare July 5, 2023 07:48
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #1878 (5bb741c) into develop (2bfe251) will decrease coverage by 0.50%.
The diff coverage is 72.95%.

@@             Coverage Diff             @@
##           develop    #1878      +/-   ##
===========================================
- Coverage    86.03%   85.54%   -0.50%     
===========================================
  Files          621      622       +1     
  Lines        99623   100100     +477     
===========================================
- Hits         85715    85628      -87     
- Misses       13908    14472     +564     

@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch 3 times, most recently from 0c1b810 to 9a95b0a Compare July 6, 2023 06:22
src/meta-srv/src/error.rs Outdated Show resolved Hide resolved
src/meta-srv/src/procedure/alter_table.rs Outdated Show resolved Hide resolved
src/meta-srv/src/procedure/alter_table.rs Show resolved Hide resolved
src/meta-srv/src/procedure/alter_table.rs Show resolved Hide resolved
src/meta-srv/src/procedure/alter_table.rs Outdated Show resolved Hide resolved
src/meta-srv/src/procedure/alter_table.rs Outdated Show resolved Hide resolved
src/meta-srv/src/service/ddl.rs Outdated Show resolved Hide resolved
src/meta-srv/src/service/ddl.rs Show resolved Hide resolved
src/meta-srv/src/service/ddl.rs Outdated Show resolved Hide resolved
src/meta-srv/src/table_routes.rs Outdated Show resolved Hide resolved
@WenyXu WenyXu marked this pull request as draft July 6, 2023 15:04
@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch 2 times, most recently from fa8a463 to 352002c Compare July 10, 2023 07:48
@WenyXu WenyXu marked this pull request as ready for review July 10, 2023 07:53
@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch 4 times, most recently from 9d6abae to 2a22e2e Compare July 11, 2023 03:34
@WenyXu
Copy link
Member Author

WenyXu commented Jul 11, 2023

PTAL @fengjiachun @MichaelScofield

@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch 2 times, most recently from 862444b to 6eaac5d Compare July 11, 2023 04:20
src/frontend/src/instance/distributed.rs Outdated Show resolved Hide resolved
src/mito/src/error.rs Show resolved Hide resolved
@WenyXu
Copy link
Member Author

WenyXu commented Jul 11, 2023

PTAL @MichaelScofield

@WenyXu
Copy link
Member Author

WenyXu commented Jul 12, 2023

PTAL @fengjiachun

@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch from 7a652c8 to b321608 Compare July 12, 2023 03:08
@WenyXu WenyXu force-pushed the feat/alter-table-procedure branch from 89cae8c to 5bb741c Compare July 12, 2023 10:57
@MichaelScofield MichaelScofield merged commit 735c639 into GreptimeTeam:develop Jul 13, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* feat: implement alter table procedure

* fix: fix uncaught error

* refactor: move fetch_table/s to table_routes.rs

* refactor: refactor error handling

* chore: apply suggestions from CR

* feat: switch to using alter table procedure

* feat: add table_version

* chore: apply suggestions from CR

* feat: introduce ddl_channel_manager

* chore: update greptime-proto
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