fix(applier): added support for unique text column, they are mapped to uint8[] by markmarkmarkthebest · Pull Request #1583 · github/gh-ost

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@markmarkmarkthebest

Copy link Copy Markdown

Contributor

Related issue: #1582

Description

This PR changes the updateModifiesUniqueKeyColumns function in applier.go to use reflect.DeepEqual for value comparison to handle unique keys that are text fields because they are mapped to unit8[] slices.

@markmarkmarkthebest

Copy link Copy Markdown

Contributor Author

I can check if the go type of the column is uint8[] first and handle that case specifically if needed

@meiji163 meiji163 merged commit b897def into github:master

Sep 22, 2025

8 checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@meiji163 meiji163 meiji163 approved these changes

@rashiq rashiq Awaiting requested review from rashiq rashiq is a code owner

@timvaillancourt timvaillancourt Awaiting requested review from timvaillancourt timvaillancourt is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@markmarkmarkthebest @meiji163