Commit Graph

4623 Commits

Author SHA1 Message Date
Jason Fulghum aab5587464 Configuring the dolt_clone stored procedure to be available when no database is selected. 2022-08-04 17:00:31 -07:00
Dhruv Sringari 6c567cb2cd Expose a means to iterate sql.Row's from a durable.Index (#3918)
* Expose a means to iterate sql.Rows from a durable.Index

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

* copyright

* fix

* print m.Count()

* remove print and add some tests

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

* WIP

* copyright

* pr comments

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

* fix tests

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

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

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-04 16:27:56 -07:00
Jason Fulghum a9feee9922 Renaming filename to match simpler type names 2022-08-04 15:47:14 -07:00
Jason Fulghum 259de5ec3a Simplifying naming 2022-08-04 15:45:55 -07:00
Jason Fulghum 90af062aa1 Removing dialer as a struct member and just constructing on the fly when GetGRPCDialParams is called. 2022-08-04 15:40:24 -07:00
fulghum fe16c0d011 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-04 21:36:42 +00:00
Jason Fulghum b15d7cfb9a Changing multi_repo_env to always return a GRPC dialer, instead of returning nil when there are no DoltEnvs created yet. 2022-08-04 14:34:17 -07:00
Andy Arthur f059e6938c added concurrency to validation step 2022-08-04 11:02:41 -07:00
Andy Arthur 2c33e9b111 fix TEXT migration, clustered index validation 2022-08-04 10:43:33 -07:00
Andy Arthur 7741b19e22 correct error in table validation 2022-08-04 10:43:33 -07:00
AndyA 892413d381 Merge pull request #4012 from dolthub/andy/migration-validation
[no-release-notes] fix TEXT migration, clustered index validation
2022-08-04 10:42:47 -07:00
AndyA abab4fe784 Merge pull request #4010 from dolthub/andy/dolt-docs-table
go/{commands,doltcore/sqle}: Allow `dolt_docs` to be created from SQL
2022-08-03 18:24:23 -07:00
Andy Arthur 1bc30367be fix TEXT migration, clustered index validation 2022-08-03 17:26:13 -07:00
Jason Fulghum a5156a1725 Merge pull request #4005 from dolthub/fulghum-a0f2a47e
[auto-bump] [no-release-notes] dependency by fulghum
2022-08-03 16:59:37 -07:00
Jason Fulghum 132fbc7742 Merge pull request #4001 from dolthub/fulghum/dolt_clone
Fixing `dolt_clone` stored procedure to clean up partially cloned database directories on failure
2022-08-03 16:56:55 -07:00
Andy Arthur d425852244 correct error in table validation 2022-08-03 16:40:58 -07:00
Andy Arthur 011c7dac5f allow dolt_docs to be created from SQL 2022-08-03 15:55:09 -07:00
Jason Fulghum de935bfbae Adding more info to the returned error message if we can't clean up after a failed clone 2022-08-03 15:21:14 -07:00
Jason Fulghum 3f5be60e3f Updating error message from GMS change 2022-08-03 15:10:48 -07:00
Andy Arthur 5845afba2d clean dolt docs docs 2022-08-03 15:10:29 -07:00
Vinai Rachakonda f86e2996d6 Lockfile should be ignored if encoded pid is different than the current process (#3986) 2022-08-03 13:41:05 -07:00
Jason Fulghum bcc4432ef4 Fixing dolt_clone stored procedure to clean up any partially cloned database directories if a clone fails. 2022-08-02 17:45:51 -07:00
Taylor Bantle 2e8181a7e2 Merge pull request #3994 from dolthub/taylor/use-db-tag
Support `USE` statement with tag name
2022-08-02 17:14:17 -07:00
Vinai Rachakonda 1f119ef0d0 Integrate update ignore with gms (#3973) 2022-08-02 16:30:18 -07:00
Jason Fulghum 7f47cd8eac Merge pull request #3996 from dolthub/fulghum/issue-3936
Fix `dolt_remote` stored procedure to write to the correct database directory
2022-08-02 15:50:46 -07:00
AndyA dda8e73fe5 Merge pull request #3975 from dolthub/andy/migration-6
[WIP][no-release-notes] Migrate using diffs
2022-08-02 15:18:50 -07:00
Jason Fulghum 8379b51f52 Changing NewDoltDatabaseProvider to return an DoltDatabaseProvider and an error. 2022-08-02 13:17:39 -07:00
Maximilian Hoffman 701f685ff9 GMS bump (#3992) 2022-08-02 13:11:31 -07:00
Jason Fulghum db4e9ee4ff Adding another test for dolt_remote in multi repo usage 2022-08-02 13:01:43 -07:00
Andy Arthur ecac8360d7 Merge remote-tracking branch 'origin/main' into andy/migration-6 2022-08-02 12:56:20 -07:00
Taylor Bantle 4a55a11216 Add tags to databaseForRevision 2022-08-02 12:53:50 -07:00
AndyA 37aa190ab1 Merge pull request #3987 from dolthub/andy/safer-prolly-serializer
[no-release-notes] go/store/prolly: safer prolly serializer
2022-08-02 12:53:41 -07:00
Jason Fulghum f268eccdbe Fixing DoltHarness.NewEngine to update the test session with the new provider it creates 2022-08-02 12:39:52 -07:00
Jason Fulghum bb9a63486c Changing dolt_remote stored procedure to use the database directory to modify remote config, instead of the provider's root directory. 2022-08-02 11:00:12 -07:00
Jason Fulghum 7709f20a82 Changing DoltDatabaseProvider to track the filesystem location for each database it manages. 2022-08-02 10:57:35 -07:00
Jason Fulghum fa885b0d0a tidying up an unused variable warning 2022-08-02 10:28:28 -07:00
Andy Arthur 17d2fe4630 update commit hashes for sqle tests 2022-08-02 10:09:49 -07:00
Maximilian Hoffman 4622841ae1 Remove prollyIndexIter chan (#3988) 2022-08-02 10:00:36 -07:00
Andy Arthur 36bba3a155 cleanup merge_test.go 2022-08-01 20:06:53 -07:00
Andy Arthur cb584ff3e6 rip out prolly.ConflictIndex 2022-08-01 19:38:17 -07:00
Andy Arthur 7097de8c7b make ProllyMapSerializer fields private to enforce safer construction 2022-08-01 19:31:51 -07:00
Dhruv Sringari 8bc8b3c87a When modifying a column, don't seed the new column tag with the old NomsKind (#3960)
* when modifying a column, don't seed the new column tag with the old NomsKind

* pr comments
2022-08-01 16:19:37 -07:00
Jason Fulghum cf5a544e8c Removing dead code 2022-08-01 15:39:43 -07:00
Jason Fulghum 0285ea958f Removing unused dataRootDir member 2022-08-01 15:33:56 -07:00
Jason Fulghum 5be8b7802e (minor) tidying up unused variable warnings 2022-08-01 14:48:42 -07:00
Jason Fulghum 0db6b209fc Merge pull request #3956 from dolthub/fulghum/dolt-pull
Add command line and SQL support for `dolt pull <remote> <remoteBranch>`
2022-07-29 19:25:36 -07:00
Dhruv Sringari 75cbd27549 improve merge error messages (#3964) 2022-07-29 15:53:14 -07:00
Andy Arthur 69a2f6a713 migrate indexes using diffs 2022-07-29 15:14:29 -07:00
Andy Arthur 5dba600129 added prolly.MutateMapWithTupleIter 2022-07-29 12:47:07 -07:00
Brian Hendriks b83b8e9b03 Merge pull request #3961 from dolthub/bh/remote-dir-create
try to create the directory referenced by the remote url if it doesnt exist
2022-07-29 11:20:40 -07:00