Commit Graph

4623 Commits

Author SHA1 Message Date
coffeegoddd 5c446ce99a /go/libraries/doltcore/remotestorage/chunk_store.go: improve error 2022-08-16 15:23:57 -07:00
Dhruv Sringari 4df584336e Fix for diffing across Dolt databases (#4097) 2022-08-16 14:18:35 -07:00
jennifersp f42712b240 allow optional empty value for string value for arg parsing (#4093)
* arg value should allow optional empty value

* fix godocs
2022-08-15 20:05:44 -07:00
Jason Fulghum b8766d141e Merge pull request #4073 from dolthub/fulghum/enum-case
Update Dolt for type name casing changes in GMS
2022-08-15 19:45:06 -07:00
Andy Arthur ede501b515 added failure messages to new format assertions 2022-08-15 16:42:33 -07:00
Jason Fulghum c93a5afadf Merge branch 'main' into fulghum/enum-case 2022-08-15 15:37:34 -07:00
Taylor Bantle 87c1de8cc7 Merge pull request #4070 from dolthub/taylor/fix-tag-revision
Prevent `use [db]/[tag]` from creating duplicate revision db
2022-08-15 09:39:07 -07:00
Daylon Wilkins 1d390d30d9 Added Real Collation Support 2022-08-12 12:55:06 -07:00
Maximilian Hoffman 48e24d4a4b libraries/doltcore/doltdb/root_val.go cache RootVal.hash (#4072) 2022-08-12 11:48:58 -07:00
Jason Fulghum 0a916589b4 Merge branch 'main' into fulghum/enum-case 2022-08-12 10:54:06 -07:00
Maximilian Hoffman 8546022e6c Index Builder more efficient for secondary lookups (#4061)
* GMS bump

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

* small perf edits

* latest GMS bump

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

* no disposable indexDef

* GMS bump for fixed query plans

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

* undo range pruning

* clarify empty range issues

* cache dolt format in index

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-08-12 09:25:38 -07:00
Jason Fulghum c3dbc3414c Updating type casing in tests 2022-08-12 09:14:17 -07:00
Dhruv Sringari 241cf79018 Add storage format information to dolt version and add new sql function dolt_storage_format(). Add dolt init --new-format (#4068)
* wip

* add bats

* remove unused

* add SELECT dolt_storage_format()

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

* prepared test

* rename skip_nbf_dolt_1 to skip_nbf_dolt

* multidb mode should load databases based on DOLT_DEFAULT_BIN_FORMAT

If there is a database in ./.dolt then we use its format to search for other compatible formats.

If there is no database in ./.dolt then we use `DOLT_DEFAULT_BIN_FORMAT` to search for other compatible formats.

* fix bats

* fix check_prepared_tests.sh

* fix bats

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-11 21:04:58 -07:00
Taylor Bantle d54b31123a Merge remote-tracking branch 'origin/main' into taylor/fix-tag-revision 2022-08-11 19:24:13 -07:00
Zach Musgrave 06e4f174e8 Merge pull request #4066 from dolthub/zachmu/history-flake
Fixed flakey history table test
2022-08-11 15:47:12 -07:00
Taylor Bantle 95b6e4dd62 Remove commented code 2022-08-11 14:25:52 -07:00
Taylor Bantle 05935e41be Attempt to fix revision db for tag 2022-08-11 14:17:35 -07:00
Zach Musgrave cd432648b7 Removed init time hack, just fixed affected tests 2022-08-11 13:19:49 -07:00
Zach Musgrave c3ead00f94 Setting 0 epoch for database initialization in tests 2022-08-11 12:07:46 -07:00
Zach Musgrave 4ab388fdc0 Unflaked engine tests that relied on commit date order 2022-08-11 11:29:43 -07:00
Andy Arthur 42f0d87bf4 cleanup lingering reference to __DOLT_1__ 2022-08-11 09:56:16 -07:00
Jason Fulghum 2a1482385e Merge pull request #4021 from dolthub/fulghum/dolt_clone
Refactoring Dolt's use of `ExternalStoredProcedureDatabase` to `ExternalStoredProcedureProvider`
2022-08-10 17:04:50 -07:00
AndyA 06e04abe22 Merge pull request #4047 from dolthub/andy/safe-format
[no-release-notes] Update NomsBinFormat string to `__DOLT__` to differentiate from alpha formats
2022-08-10 16:11:26 -07:00
fulghum 81ce76c81b [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-10 22:49:43 +00:00
Jason Fulghum 407618e3c9 Updating go mod to pull in latest version of GMS 2022-08-10 15:33:53 -07:00
Dhruv Sringari 15108c7d07 fix for #4037 (#4049)
The ordering of the primary key columns in returned by Schema.GetAllCols() should not determine diffability.

If and only if the primary key tags, their relative ordering, and their types (in the new format) are equal, two schemas are diffable.

Schema.GetPkCols() always returns the columns in ordinal order.
2022-08-10 15:32:27 -07:00
Jason Fulghum 85d3faf7f6 Merge branch 'main' into fulghum/dolt_clone 2022-08-10 15:29:32 -07:00
Andy Arthur d66cb41950 Merge remote-tracking branch 'origin/main' into andy/safe-format 2022-08-10 15:07:48 -07:00
Jason Fulghum 1ed4d22140 Removing duplicated code by switching to new ExternalStoredProcedureRegistry utility class. 2022-08-10 09:41:23 -07:00
Andy Arthur 60fea25741 added shallow gc to migration 2022-08-09 22:21:38 -07:00
Andy Arthur 7a70fe1856 cleanup remaining references to __DOLT_1__ 2022-08-09 15:34:10 -07:00
Jason Fulghum bf8d3b24d4 First pass on updates from refactoring ExternalStoredProcedureDatabase to ExternalStoredProcedureProvider. Still needs a little more refactoring to clean up duplicated code. 2022-08-09 15:05:40 -07:00
Dhruv Sringari 1f5186325d fix context being cancelled immediately (#4046) 2022-08-09 14:53:34 -07:00
Andy Arthur 967cf6ae79 remove __DOLT_1__ in favor of __DOLT__ 2022-08-09 14:44:26 -07:00
Jason Fulghum 6522c0d021 Backing out WorksWithoutDatabase change 2022-08-09 14:21:37 -07:00
Andy Arthur 0be856867e fix overeager concurrency 2022-08-09 08:27:09 -07:00
Dhruv Sringari cad363deeb Fix indeterministic diff delta matching (#4036)
* fix indeterministic diff delta matching

Before this fix, tables with different names would attempted to be matched even if there was a pair of tables with a matching name.

* add a test

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

* copyright

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-08 17:44:28 -07:00
Andy Arthur a1f45645cf special case string comparisons 2022-08-08 17:29:13 -07:00
Andy Arthur 2b7d973cfa special case char validation 2022-08-08 16:46:55 -07:00
Andy Arthur dc95aeea91 delay migration validation to facilitate archeology 2022-08-08 15:31:24 -07:00
Jason Fulghum d3d50761b0 Merge branch 'main' into fulghum/dolt_clone 2022-08-05 15:41:12 -07:00
Andy Arthur 8493aa13b2 Merge remote-tracking branch 'origin/main' into andy/migration-concurrency 2022-08-05 14:54:28 -07:00
Andy Arthur db1664b754 revert value_store cache changes, fix go vet 2022-08-05 14:49:14 -07:00
Dustin Brown 5dc34293c2 Merge pull request #4016 from dolthub/db/bump-go
/{.github,go}: bump required go to 1.19
2022-08-05 12:06:09 -07:00
coffeegoddd b68814c796 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-05 17:21:26 +00:00
coffeegoddd 60fd6472f8 /go/{store,libraries}: attempt to fix some comments for formatting 2022-08-05 10:20:04 -07:00
Jason Fulghum d73eaf5ba5 Merge pull request #4018 from dolthub/fulghum/dolt-clone-grpc-dialer
Bug fix to configure remote dialer when no databases exist yet
2022-08-05 09:50:20 -07:00
Andy Arthur 41a73236cb added time to progress logging 2022-08-05 09:20:02 -07:00
Andy Arthur 16b2be023e special case validation for time columns to account for precision difference 2022-08-05 09:15:15 -07:00
Andy Arthur 02052b1e05 add a small bit of concurrency to primary, secondary index migration 2022-08-04 17:02:29 -07:00