Commit Graph

9264 Commits

Author SHA1 Message Date
Taylor Bantle
bbeddb44fd Merge pull request #8306 from dolthub/taylor/export-var 2024-09-04 07:21:52 -07:00
James Cor
8dca4a5f74 reset auto increment counter on dolt_reset('--hard') (#8319) 2024-09-04 01:14:23 -07:00
Taylor Bantle
e35edeef85 Merge remote-tracking branch 'origin/main' into taylor/export-var 2024-09-03 16:11:32 -07:00
Zach Musgrave
913d6b5549 Merge pull request #8313 from dolthub/zachmu/doltgres-enginetest
Fixed table resolution for reset
2024-09-03 11:24:36 -07:00
zachmu
ffa8496972 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-08-30 00:32:05 +00:00
Zach Musgrave
359c72e8f7 Fixed table resolution for reset 2024-08-29 17:22:04 -07:00
Maximilian Hoffman
d2ac2def2d [kvexec] fix more lookup bugs related to schema/projection inconsistencies (#8311)
* [kvexec[ fix more lookup bugs related to schema/projection inconsistencies

* cleanup

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* bump

* bump

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2024-08-29 17:11:49 -07:00
Jason Fulghum
b4475a80e9 Merge pull request #8294 from dolthub/fulghum/rebase
Feature: Data conflict resolution during interactive rebase
2024-08-29 11:14:31 -07:00
Jason Fulghum
e871e9c65b Merge pull request #8303 from dolthub/fulghum/replication-bugfix
Perf: Optimize SQL transaction commits in binlog replication applier
2024-08-29 10:54:35 -07:00
Taylor Bantle
17e0a8c3f3 Export DoltSystemVariables var so that it can be used by doltgres 2024-08-28 16:49:44 -07:00
Jason Fulghum
8a49cd8f80 PR Feedback: Changing to require that all tables are staged when a rebase is continued after manually resolving a conflict 2024-08-28 16:16:21 -07:00
Jason Fulghum
4c4e9bc312 Optimizing how we commit SQL transactions in the binlog replication applier thread so that we don't have to commit in all databases 2024-08-28 11:49:48 -07:00
Jason Fulghum
0372eb34be PR Feedback 2024-08-28 10:23:00 -07:00
Jason Fulghum
5a7c8489be PR Feedback 2024-08-28 10:12:56 -07:00
Neil Macneale IV
6c812044de Merge pull request #8297 from dolthub/macneale4/workspace-edit
dolt_workspace_* update and delete support

This change adds the ability to update dolt_workspace_ tables. Updates can take two forms:
 1)The "staging" column of the table. may be toggled from it's current state. If setting from false to true, the working value will be written into the staged table. Setting from true to false will remove the row from staging, and leave the value in working as is.
 2) You can delete any row which has a "staged" column of false. This will revert the workspace changes and return them to the original value.
2024-08-27 13:08:07 -07:00
Neil Macneale IV
a3fbbc274d A few test tweaks requested in PR 2024-08-27 12:06:02 -07:00
Neil Macneale IV
2ba302485f PR Feedback to consolidate common code 2024-08-27 11:46:04 -07:00
Jason Fulghum
6eb7325b6b Fixing up the rebase CLI command to support resolving data conflicts 2024-08-27 11:15:05 -07:00
Daylon Wilkins
24b49d0ec7 Add support for Doltgres indexes 2024-08-27 03:42:02 -07:00
Taylor Bantle
3c6dbb38ce More consistent return types for dolt procedures 2024-08-26 16:22:32 -07:00
macneale4
641b816be7 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-08-26 22:59:25 +00:00
Neil Macneale IV
7f33d91ddc More odd and ends 2024-08-26 15:51:02 -07:00
Neil Macneale IV
833da1d69b Clean up some odds and ends 2024-08-26 15:48:28 -07:00
macneale4
10f2c02fbe [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-08-26 15:48:28 -07:00
Neil Macneale IV
e445370618 Fix test code for new interface 2024-08-26 15:48:28 -07:00
Neil Macneale IV
b28c1e9c87 fixup 2024-08-26 15:48:28 -07:00
Neil Macneale IV
8ef1bb74a3 Add row delete support on dolt_workspace_ tables 2024-08-26 15:48:28 -07:00
Neil Macneale IV
6f260fc6c9 Test keyless value updates to workspaces 2024-08-26 15:48:28 -07:00
Neil Macneale IV
3fe26967a4 Second pass. Downgrades from staging tested 2024-08-26 15:48:28 -07:00
Neil Macneale IV
78e142f487 dolt_workspace updates pass two. now with tests 2024-08-26 15:48:28 -07:00
Neil Macneale IV
8432e87bf8 First checkpoint of a working POC. No new tests. Existing tests pass. 2024-08-26 15:48:28 -07:00
James Cor
849e099a0d fix case insensitive column match in kv iter (#8296) 2024-08-26 15:22:26 -07:00
Jason Fulghum
272066d163 Adding support for data conflict resolution with dolt_rebase 2024-08-23 16:55:50 -07:00
Maximilian Hoffman
b4c5ccf461 Skip filter iter, with more test fixes (#8288)
* Revert "Revert "Skip filterIter match check when a key range is contiguous (#8242)""

This reverts commit 277c1d7d8b.

* fix string matching bug, test added in GMS#2639

* Better comment
2024-08-21 13:13:07 -07:00
Neil Macneale IV
34bd5c09b4 Merge remote-tracking branch 'origin/main' into spelling-3p 2024-08-20 17:34:15 -07:00
macneale4
e2d6b67f5d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-08-20 23:07:26 +00:00
Neil Macneale IV
49e0cb67e7 Reverts to some changes in PR 2024-08-20 15:49:23 -07:00
Daylon Wilkins
277c1d7d8b Revert "Skip filterIter match check when a key range is contiguous (#8242)"
This reverts commit c33943f6b8.
2024-08-16 04:26:58 -07:00
Nick Tobey
c85569ead8 Merge remote-tracking branch 'origin/main' into nicktobey/index-fix 2024-08-15 18:51:11 -07:00
Nick Tobey
80885f6b76 ResolveDefaultExpression should return a ColumnDefaultValue instance, because it has information about the type of the column and performs conversions. 2024-08-15 16:37:44 -07:00
Jason Fulghum
8cc6936d24 Removing de-duplication of indexes covering the same set of columns, to match MySQL's behavior, which allows duplicate indexes 2024-08-15 12:40:38 -07:00
Maximilian Hoffman
adf405749c [no-release-notes] range select perf bump (#8241)
* [no-release-notes] range select perf bump

* bump, catalog function interface simplification

* bump

* bump
2024-08-13 17:21:12 -07:00
Maximilian Hoffman
c33943f6b8 Skip filterIter match check when a key range is contiguous (#8242)
* Skip filterIter match check when a key range is contiguous

* [skip actions] [ga-update-correctness] SQL Correctness updated to 99.960017

* certain encodings are imperfectly serialized, still need range.Matches check

* better comments

* inline contigous check

* [skip actions] [ga-update-correctness] SQL Correctness updated to 100

* bad default value

* [skip actions] [ga-update-correctness] SQL Correctness updated to 99.991949

* fix nil test (added in GMS 2630)

* [skip actions] [ga-update-correctness] SQL Correctness updated to 100

* zach comments

---------

Co-authored-by: coffeegoddd <coffeegoddd@users.noreply.github.com>
2024-08-13 17:20:58 -07:00
Neil Macneale IV
a3dc8253e6 Merge pull request #8253 from dolthub/macneale4/workspace-read
Add dolt_workspace_* system tables
2024-08-13 16:54:56 -07:00
Neil Macneale IV
48f6bc2cde Test adding a column to working and staging kinda works 2024-08-13 16:22:04 -07:00
Neil Macneale IV
b053e4def5 Update go/libraries/doltcore/sqle/enginetest/dolt_queries_workspace.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2024-08-13 13:04:22 -07:00
Neil Macneale IV
456a744584 Update go/libraries/doltcore/sqle/enginetest/dolt_queries_workspace.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2024-08-13 13:04:09 -07:00
Neil Macneale IV
ea1c0db5fc Update go/libraries/doltcore/sqle/enginetest/dolt_queries_workspace.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2024-08-13 13:03:57 -07:00
Neil Macneale IV
810a80d071 Update go/libraries/doltcore/sqle/enginetest/dolt_queries_workspace.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2024-08-13 13:03:47 -07:00
Neil Macneale IV
0a95504cdb Update go/libraries/doltcore/sqle/enginetest/dolt_queries_workspace.go
Co-authored-by: Jason Fulghum <jason@dolthub.com>
2024-08-13 13:03:36 -07:00