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

Apply table id in the create procedure #3233

Closed
fengjiachun opened this issue Jan 25, 2024 · 0 comments
Closed

Apply table id in the create procedure #3233

fengjiachun opened this issue Jan 25, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@fengjiachun
Copy link
Collaborator

What type of enhancement is this?

Tech debt reduction

What does the enhancement do?

Currently, we pre-allocate the table id before starting the procedure of creating a table because the create table operation needs to return the table id to the Frontend. However, procedures cannot return a value before. Now that procedures support returning values, we should apply for the table id within the procedure. This way, it can avoid wasting table ids due to concurrent table creation.

Related PR #3232

Implementation challenges

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants