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

Support for rewriting tables on column modifications #1004

Merged
merged 8 commits into from
May 11, 2022
Merged

Conversation

zachmu
Copy link
Member

@zachmu zachmu commented May 10, 2022

No description provided.

@zachmu zachmu requested a review from max-hoffman May 10, 2022 22:57
}

// establish a map from old column index to new column index
oldToNewIdxMapping := make(map[int]int)
Copy link
Contributor

@max-hoffman max-hoffman May 11, 2022

Choose a reason for hiding this comment

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

this is what i did for pk ordinals originally, you said it was overly complicated and I should just create a name->oldPos map to use for building a oldPos->newPos map

Copy link
Member Author

Choose a reason for hiding this comment

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

I might have had a point

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, one algo comment

@zachmu zachmu merged commit e7e0c42 into main May 11, 2022
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.

2 participants