Commit Graph

22098 Commits

Author SHA1 Message Date
Nick Tobey abcaea29d2 Post-merge fixup. 2023-11-27 10:22:48 -08:00
Nick Tobey ececb88bac Merge branch 'main' into nicktobey/schemamerge4 2023-11-22 22:37:27 -08:00
nicktobey 2ffd0cdf26 [ga-bump-release] Update Dolt version to 1.28.1 and release v1.28.1 v1.28.1 2023-11-23 03:27:22 +00:00
Nick Tobey 2df1cf352c Merge pull request #7044 from dolthub/nicktobey/idea
Track whether or not rows actually need to be remapped to the result schema.
2023-11-22 19:18:29 -08:00
Nick Tobey e60170d8d9 Track whether or not rows actually need to be remapped to the result schema. This prevents a bunch of expensive computation in places where it isn't necessary. 2023-11-22 17:46:44 -08:00
nicktobey 30a5908fb1 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-11-22 22:06:03 +00:00
Nick Tobey bc6df10d3a Refactor rebuildPrimaryIndex, rebuildSecondaryIndexes, and DiffInfo to make it more readable. 2023-11-22 13:59:13 -08:00
Nick Tobey 48cfabce0e Refactor DiffInfo struct into prolly tree package instead of merge package. 2023-11-22 11:35:24 -08:00
Nick Tobey 4c746771bb Track whether the left and right schemas are equal. If they're not, then the three way differ should never produce a convergent edit. 2023-11-22 02:10:50 -08:00
Nick Tobey 23c09343c6 During three way merge, only process stored columns, not virtual columns. 2023-11-21 17:12:26 -08:00
Nick Tobey b6232a5b5e Create and propagate MergeInfo struct. 2023-11-21 17:12:14 -08:00
Nick Tobey 887ed8c990 Copmute whether schemas have changed during three way merge. 2023-11-21 17:11:50 -08:00
Nick Tobey a69ac26d7c Add considerAllRowsModified option to Differ.
This is useful for three way merges: in the presence of a schema change, we want every key in a diff to be considered modified, even if the tuple value doesn't change.
2023-11-21 17:11:50 -08:00
Nick Tobey b3943e5397 Re-enabled skipped tests. 2023-11-21 17:11:50 -08:00
fulghum f400a12195 [ga-bump-release] Update Dolt version to 1.28.0 and release v1.28.0 v1.28.0 2023-11-22 01:02:35 +00:00
Jason Fulghum 13e29080f9 Merge pull request #7037 from dolthub/fulghum-0a2b9016
[auto-bump] [no-release-notes] dependency by fulghum
2023-11-21 17:01:30 -08:00
Jason Fulghum 3f90521272 Fixing BATS test after allowing TEXT/BLOB/JSON fields to accept a literal default value (for MariaDB compatibility) 2023-11-21 15:45:50 -08:00
fulghum 8e8b89dadb [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-11-21 23:16:19 +00:00
Zach Musgrave f8e2371d24 Merge pull request #7024 from nustiueudinastea/concurrent-branches-map
Concurrent branches map
2023-11-21 11:47:39 -08:00
Alex Giurgiu 015efd4c53 reverting older ordering, changed during merge 2023-11-21 13:29:38 +02:00
Alex Giurgiu cab07b32c1 added the nil check when unmarshaling from json 2023-11-21 13:26:03 +02:00
Alex Giurgiu fb4275a65e Merge branch 'main' into concurrent-branches-map 2023-11-21 13:25:17 +02:00
Nick Tobey 9bc32d9db2 Merge pull request #6980 from dolthub/nicktobey/schemamerge
Correctly identify and report data conflicts when deleting rows and/or columns during a three-way merge.
2023-11-20 23:12:26 -08:00
Nick Tobey 6527d9d6e9 Update docstring for mergeProllyTableData 2023-11-20 21:52:22 -08:00
Nick Tobey 8cf2982898 Add comments explaining why we have to handle left-only diffs during three-way merge. 2023-11-20 21:49:41 -08:00
Neil Macneale IV dbb5ce3d2d Merge pull request #7023 from dolthub/macneale4/fix_dolt_fetch_pull
fix dolt fetch and dolt pull commands to properly authenticate
2023-11-20 20:32:04 -08:00
macneale4 aacfd0a673 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-11-21 02:46:35 +00:00
Neil Macneale IV 0780d4e496 Update tests for more descriptive messages 2023-11-20 18:39:42 -08:00
Neil Macneale IV 16a9dd80d4 Refactor to keep sql.Context out of interceptors.go 2023-11-20 18:39:35 -08:00
Nick Tobey 89f89a0997 Don't run check validator on resolved deleted rows: it's not needed and won't work. 2023-11-20 18:01:54 -08:00
Nick Tobey 560dfc02a7 Rename GetKeyColumnsDescriptor to GetKeyDescriptorWithNoConversion 2023-11-20 14:39:28 -08:00
Nick Tobey c278833866 Refactor test harness to make clear why we're copying the test object. 2023-11-20 14:38:41 -08:00
jennifersp d09c29cb7e use database name that is the same as directory name on disk (#7020) 2023-11-20 13:20:12 -08:00
Zach Musgrave 517e8679cd Merge pull request #7019 from nustiueudinastea/concurrent-backups-map2
Concurrent backups map
2023-11-20 10:14:26 -08:00
Dustin Brown 4cffade705 [ga-bump-dep] Bump dependency in Dolt by JCOR11599 (#7021)
Co-authored-by: JCOR11599 <jcor@ucsd.edu>
2023-11-18 12:52:16 -08:00
Alex Giurgiu 2e4184adb5 initialize nramches as well in the RepoState 2023-11-18 15:32:58 +02:00
Alex Giurgiu 322f528be6 first pass switching branches to concurrent map 2023-11-18 15:32:58 +02:00
Alex Giurgiu 5aed4d14bd setting default values for repo state remotes and backups. They should never be nil even if the on disk config doesn't have values for them 2023-11-18 15:15:14 +02:00
macneale4 a78a6d2008 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-11-18 01:19:05 +00:00
Neil Macneale IV e11363a5c1 Activate skipped tests for fetch and pull 2023-11-17 17:07:38 -08:00
Neil Macneale IV 8e8335e9d4 Refactor Aaron's change in my voice 2023-11-17 14:54:17 -08:00
Aaron Son 311b54f3cc dolt_fetch: Allow dolt fetch to work with username/password auth against a remotesapi.
When we migrated `dolt fetch` to use the SQL interface, we broke
username/password authentication for it. This change restores that
functionality.

Because `dolt fetch` can run against a SQL server, the semantics here are a bit
subtle. We pass along the `--user` parameter which is given to the `dolt fetch`
invocation. When the server sees a `--user` parameter in a `call dolt_fetch()`,
it consults its own process environment to pull out the password. In the common
case where `dolt fetch` is running against a SQL engine which is in the same
process, this means the `dolt fetch` invocations same the same.
2023-11-17 11:50:59 -08:00
Neil Macneale IV 477a1af160 Split Authentication and Authorization in the chunkstore API impl 2023-11-17 11:47:51 -08:00
stephanie e7180e42a5 Merge pull request #7016 from dolthub/steph/cli-perf
Allow `dolt config` to run in folders without write permissions
2023-11-17 09:24:17 -08:00
Alex Giurgiu 7a36a96af6 initialize backups as well in the RepoState 2023-11-17 19:21:25 +02:00
Alex Giurgiu e5827be667 first pass switching backups to concurrent map 2023-11-17 19:21:18 +02:00
Jason Fulghum f5e0b0ff61 Merge pull request #7015 from dolthub/fulghum/bugfix
Update docs for merge's `--abort` param
2023-11-17 08:52:06 -08:00
Stephanie You c6ea9725a7 minor updates 2023-11-16 17:48:00 -08:00
Stephanie You 0f5a26af3a profile does not need write perms in current dir 2023-11-16 16:53:14 -08:00
Stephanie You f37e231e7c does not check write perms for config 2023-11-16 16:44:12 -08:00