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

Procedure to resolve conflict to ours or theirs based on dolt_conflict_id #8357

Open
YourRightWebsite opened this issue Sep 13, 2024 · 1 comment
Labels
customer issue enhancement New feature or request

Comments

@YourRightWebsite
Copy link

Right now there is a procedure called DOLT_CONFLICTS_RESOLVE() that can resolve all conflicts within a table using ours or theirs, however it would be helpful to have a similar procedure that could resolve a conflict to ours or theirs using the unique ID for a given conflict.

@fulghum fulghum added the enhancement New feature or request label Sep 13, 2024
@fulghum
Copy link
Contributor

fulghum commented Sep 13, 2024

Thanks for the great feature request! 🙏 It seems like we could support an optional fourth parameter to DOLT_CONFLICTS_RESOLVE() that would let you pass in the conflict hash so you could scope down the resolution to a single conflict.

Implementation-wise... this is a little more involved than the current implementation, since at a table granularity, it's very easy to swap a whole table between roots, but working on an individual row granularity should still be pretty straightforward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants