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

New interface to rewrite table on certain schema change operations #1002

Merged
merged 25 commits into from
May 9, 2022

Conversation

zachmu
Copy link
Member

@zachmu zachmu commented May 6, 2022

Interface isn't quite final but this can be checked in. Complementary dolt changes are done and tested but want to get feedback on this approach first.

@zachmu zachmu requested a review from max-hoffman May 6, 2022 23:14
Copy link
Contributor

@andy-wm-arthur andy-wm-arthur left a comment

Choose a reason for hiding this comment

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

Seems reasonable. It seems at this stage that the engine is deciding when table rewrites happen, not the integrator?

sql/plan/show_create_table.go Show resolved Hide resolved
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

LGTM, couple nits, final interface condensing alters into a target schema/projections in a resolve rule is ideal

sql/plan/alter_table.go Show resolved Hide resolved
sql/plan/alter_table.go Outdated Show resolved Hide resolved
sql/plan/alter_table.go Show resolved Hide resolved
@zachmu zachmu merged commit 35526b9 into main May 9, 2022
@max-hoffman max-hoffman deleted the zachmu/ddl-rewrites branch May 9, 2022 22:51
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