dolthub / dolthub/dolt

False positive for incompatible schema change on non-ff merge when indexes on overlapping columns exist

Closed
#8,822 0 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
bug version control
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

This happens on any non-fast-forward merge when there is more than one index defined on the same column. Repro here:

https://github.com/dolthub/dolt/pull/8821

MySQL considers `UNIQUE` constraints distinct from indexes and allows you to create an index and a unique key on the same column, so we have to support this kind of schema.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.