mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-10 18:49:02 -06:00
PR feedback: Update error msg wording
This commit is contained in:
@@ -875,7 +875,7 @@ func createSplitter(ctx context.Context, vrw types.ValueReadWriter, fromSch sche
|
||||
|
||||
unionSch, err = untyped.UntypedSchemaUnion(dumbNewSch, dumbOldSch)
|
||||
if err != nil {
|
||||
return nil, nil, errhand.BuildDError("Cannot merge schemas with different primary key sets").AddCause(err).Build()
|
||||
return nil, nil, errhand.BuildDError("Merge failed. Tables with different primary keys cannot be merged.").AddCause(err).Build()
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
@@ -32,7 +32,7 @@ teardown() {
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ "BIGINT" ]] || false
|
||||
[[ "$output" =~ "LONGTEXT" ]] || false
|
||||
[[ ! "$ouput" =~ "Cannot merge schemas with different primary key sets" ]] || false
|
||||
[[ ! "$ouput" =~ "Merge failed" ]] || false
|
||||
}
|
||||
|
||||
@test "schema-changes: dolt schema rename column" {
|
||||
|
||||
Reference in New Issue
Block a user