Commit Graph

4788 Commits

Author SHA1 Message Date
Aaron Son 85a46e39de proto/dolt/services/remotesapi/v1alpha1: Allow GetUploadLocs TableFileDetails to come with num_chunks. 2022-08-31 14:04:45 -07:00
AndyA 08539d97cc Merge pull request #4239 from dolthub/andy/fk-panic
[no-release-notes] go/doltcore/sqle/writer: Fix `prollyFkIndexer` for primary keys not at the start of a schema
2022-08-30 15:28:10 -07:00
AndyA 0f371c10fe Merge pull request #4229 from dolthub/andy/auto-fix
go/doltcore/sqle/globalstate: Reset AUTO_INCREMENT sequence to 1 on table drop
2022-08-30 13:52:23 -07:00
Andy Arthur e13bbf93be fix setup for cross-index key mapping in prollyFkIndexer 2022-08-30 13:51:52 -07:00
Andy Arthur 1b441754c1 added enginetest repro 2022-08-30 12:50:01 -07:00
jennifersp eba3d641c6 fix wrong error variable used (#4206) 2022-08-30 09:51:38 -07:00
Andy Arthur 45532d8f67 Merge remote-tracking branch 'origin/main' into andy/auto-fix 2022-08-30 09:14:55 -07:00
Dhruv Sringari 4818dd6c7f Make dolt conflicts resolve $tbl --theirs faster (#4228)
* Make `dolt conflicts resolve $tbl --theirs` faster

* pr comment

* reset var in defer
2022-08-29 23:33:24 -07:00
AndyA 91d8987354 Merge pull request #4202 from dolthub/andy/new-format-table-scan
go/store/prolly: Added `map.FetchOrdinalRange` to utilize batch chunk reads on scans
2022-08-29 18:44:02 -07:00
Maximilian Hoffman b5f95c648f Secondary lookup cursor reuse (#4215)
* fix tests

* Point lookups reuse cursors

* fmt

* delete commented lines

* fix ld index

* fix some bugs

* bugs

* fix lb caching between table mutations

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

* delete irrelevent conditional

* aaron's comments

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-08-29 18:10:25 -07:00
Andy Arthur 1037c681a0 reset auto_incremente sequence to 1, not 0, on table drop 2022-08-29 16:01:48 -07:00
Andy Arthur 403374337f Merge remote-tracking branch 'origin/main' into andy/new-format-table-scan 2022-08-29 15:34:00 -07:00
Daylon Wilkins a88f9ef518 Fixes for GMS bump 2022-08-29 14:48:57 -07:00
Jason Fulghum 2aba148fc9 Merge pull request #4221 from dolthub/fulghum/issue-4199
Bug fix for Tuple.Compare to return consistent results when comparing against a null value
2022-08-26 17:12:23 -07:00
Jason Fulghum c1ede4d675 Merge pull request #4197 from dolthub/fulghum/revision-databases
Add support for ancestor references in database revision specifiers
2022-08-26 16:38:27 -07:00
Jason Fulghum 2946d5c0aa Adding test assertions for IndexedJoin 2022-08-26 15:45:31 -07:00
Jason Fulghum d98d1b173c Updating to explicitly dolt_add new tables 2022-08-26 15:04:12 -07:00
Jason Fulghum 536a12830e Adding a test for an invalid ancestor spec 2022-08-26 14:29:19 -07:00
Jason Fulghum d637e37dc2 Revert "Removing dead code"
This reverts commit b92add82cc.
2022-08-26 14:08:17 -07:00
Jason Fulghum 06af2191d3 Adding an enginetest to prevent regression 2022-08-26 14:05:26 -07:00
Jason Fulghum b92add82cc Removing dead code 2022-08-26 13:48:34 -07:00
Jason Fulghum 746f9f7419 Merge pull request #4161 from tanyongzhi/4133-commit-a
Git Consistency: `dolt commit -a` ignores new tables
2022-08-26 09:34:08 -07:00
Daylon Wilkins 1ee14d9f74 Add support for table-level collations 2022-08-26 08:10:44 -07:00
Tan Yong Zhi 53e6e19c4a Fix even more tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 46212c241d Fix go tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 5c7cddc75d Update sql path and tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 7dd5d6b4d6 Fix failing tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi f810da5062 Fix compile err 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 9dcb0359a7 dolt commit -a ignores new tables 2022-08-26 12:14:05 +08:00
Zach Musgrave e5eb896147 Merge pull request #4194 from dolthub/zachmu/json-diff
Support json output for `dolt diff`
2022-08-25 19:54:38 -07:00
jennifersp 0c96a5840d create db with specific format depending on currentDB format (#4193) 2022-08-25 15:17:27 -07:00
Aaron Son 6eb9e6c17d proto,go/.../remotestorage: Add repo_token support.
doltremoteapi can return an opaque token which makes it cheaper to access the
repository than just using the RepoId. This updates protos and remotestorage
implementation to cache that token and use it for future accesses of the same
repository.
2022-08-25 12:12:42 -07:00
Andy Arthur 155d75ba83 added Map.FetchOrdinalRange to batch read ordinal ranges of leaf Nodes 2022-08-25 10:12:56 -07:00
Jason Fulghum ad60ff72d6 Refactoring to clean up duplication 2022-08-25 09:47:31 -07:00
Zach Musgrave 0a00e6b17b Bug fix for writing no rows with json row writer 2022-08-24 19:08:28 -07:00
Jason Fulghum 0879cb7622 First pass on adding support for ancestor references 2022-08-24 18:35:02 -07:00
zachmu a0cfe4454c [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-08-25 01:10:33 +00:00
Zach Musgrave 96a3506721 Bug fixes 2022-08-24 17:00:04 -07:00
Zach Musgrave 593e32fe6a Merge main 2022-08-24 16:00:36 -07:00
AndyA afe5c70a9d Merge pull request #4181 from dolthub/andy/migrate-blob-keys
Migrate `TEXT`, `BLOB` index keys by converting them `VARCHAR`, `VARBINARY`
2022-08-24 17:57:32 -05:00
Zach Musgrave 162941542c Revamped diff to use from_row, to_row, fixed some bugs in that context 2022-08-24 15:56:15 -07:00
AndyA 2eab2735c9 Merge pull request #4192 from dolthub/andy/fix-ls-verbose
[no-release-notes] go/commands: Fix `dolt ls --verbose` panic for NBF `__DOLT__`
2022-08-24 17:35:22 -05:00
AndyA 85b8b25927 Merge pull request #4191 from dolthub/andy/schema-merge-panic
[no-release-notes] go/doltcore/merge: Fix schema merge panic
2022-08-24 16:52:34 -05:00
Andy Arthur cae47d06ff cleanup some uses of doltdb.Table.GetNomsRowData 2022-08-24 14:05:20 -07:00
Andy Arthur 9040214fdf replace nil sql.Context with sql.NewEmptyContext 2022-08-24 13:43:16 -07:00
Zach Musgrave 88acb85148 Bug fixes, first fully working version 2022-08-24 12:20:32 -07:00
James Cor 8b20dcb463 adding skipprepared and removing todo 2022-08-24 11:18:26 -07:00
Zach Musgrave a07dceeb75 Moved start and close code for json writer around 2022-08-24 10:30:54 -07:00
Andy Arthur d2bf21656a fix race on err write, only run migration tests for __LD_1__ 2022-08-24 09:28:59 -07:00
Andy Arthur 41a00a47e9 added integration test for TEXT, BLOB coersion 2022-08-23 18:13:46 -07:00