dolthub / dolthub/dolt

`merge.resolveDefaults` is extremely slow

Open
#7,045 0 comments 0 reactions 0 assignees View on GitHub
merge performance version control
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

I don't have a profile, but it was causing a customer's 9 second operation to take hours because we were running it for every row in the diff.

We no longer run it for every row in the diff, but it's still slow because it works by calling `parseCreateTable`, which generates a `CREATE TABLE` string from the schema, and then parses it in yacc. This feels extremely unnecessary. We should be able to get the data from the schema directly.

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.