This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
feat: add CreateTableProcedure #73
Merged
chunshao90
merged 4 commits into
apache:main
from
chunshao90:feat-create-table-procedure
Oct 19, 2022
Merged
feat: add CreateTableProcedure #73
chunshao90
merged 4 commits into
apache:main
from
chunshao90:feat-create-table-procedure
Oct 19, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2c12b7e
to
7a5c621
Compare
ec7ff61
to
6f7f5e5
Compare
6f7f5e5
to
0b99d96
Compare
ZuLiangWang
reviewed
Oct 18, 2022
ShiKaiWi
reviewed
Oct 19, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find a problem with the current procedure implement, that is to say, there is no mechanism to notify the caller (procedure creator) with the procedure running result. And for this reason, create/drop table seems no way to work properly.
f5036f1
to
9e7e716
Compare
ShiKaiWi
approved these changes
Oct 19, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #
Rationale for this change
Add CreateTableProcedure implementation.
What changes are included in this PR?
GetShardByID
function incluster.Shard
.Are there any user-facing changes?
How does this change test
Add
TestCreateTable
test.