Commit Graph

10053 Commits

Author SHA1 Message Date
Brian Hendriks fe2fdd8ddd Use a Tuple Factory for inserts to decrease memory usage. (#2238) 2021-10-07 11:41:17 -07:00
Aaron Son 86307b6f8e Merge pull request #2230 from abmyii/arm-dolt-push
Fixes for dolt on arm devices
2021-10-07 09:05:55 -07:00
abmyii 2da8cdda73 Merge pull request #1 from dolthub/abmyii/arm-dolt-push
go/libraries/utils/iohelp: ReaderWithStats: Support > 4GB read stats.
2021-10-07 15:28:51 +01:00
Maximilian Hoffman 4d97326080 noff doesn't surface constraint violations (#2233)
* noff doesn't surface constraint violations

* only no-ff merge if we can fast-forward HEAD safely

* daylon's comments

* same error skip for sql
2021-10-06 19:49:26 -07:00
Dustin Brown fa4c82944e Update ci-bump-homebrew.yaml 2021-10-06 15:35:50 -07:00
Dustin Brown 6e9886c1a3 Merge pull request #2234 from dolthub/coffeegoddd-patch-1
[no-release-notes] Update ci-bump-homebrew.yaml
2021-10-06 15:28:07 -07:00
Dustin Brown dbc8b929eb Update ci-bump-homebrew.yaml 2021-10-06 15:27:46 -07:00
reltuk 2563c35630 [ga-bump-release] Update Dolt version to 0.30.2 and release v0.30.2 v0.30.2 2021-10-06 21:54:28 +00:00
Aaron Son 97ea3b8749 go/libraries/utils/iohelp: ReaderWithStats: Support > 4GB read stats. 2021-10-06 14:39:47 -07:00
Abdurrahmaan Iqbal 7e53ec8f38 Fix for dolt table import on arm devices 2021-10-06 21:22:15 +01:00
AndyA aced1275bf Merge pull request #2226 from dolthub/andy/kill-sql-package
[no-release-notes] go/doltcore/libraries/sql  Refactor to eliminate pkg `sql`
2021-10-06 13:08:05 -07:00
Abdurrahmaan Iqbal 7e760c4e31 Fix for dolt push on arm devices 2021-10-06 21:04:50 +01:00
AndyA 9100b808bd Merge pull request #2228 from dolthub/andy/fix-async-differ
[no-release-notes] /go/doltcore/libraries/diff: Make a copy of keyless diff.Difference to avoid reference errors
2021-10-06 12:47:38 -07:00
Andy Arthur c32e455bb4 refactor keylessDiff.getDiffs to check timeout, context cancelled each time it checks diff against predicate 2021-10-06 12:09:31 -07:00
Andy Arthur 1aba803fe2 make a copy of keyless diff.Difference to avoid reference errors 2021-10-06 11:51:36 -07:00
andrew-wm-arthur ccbd381786 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-06 16:57:49 +00:00
Andy Arthur 7e6bd72a98 refactor to eliminate pkg /go/doltcore/libraries/sql 2021-10-06 09:55:43 -07:00
Vinai Rachakonda 08eb50be97 Unblock Keyless SQL Diffs and Minimize SQL Diffs (#2205)
1. Unblock the ability to get SQL diffs on keyless tables
2. Minimizes the update statements in a SQL diff
2021-10-06 09:44:47 -07:00
Brian Hendriks 14e70eb2a2 memory cap on in memory table editors (#2220) 2021-10-05 17:27:12 -07:00
AndyA 9b708f9461 Merge pull request #2221 from dolthub/andy/json-extract-fix
/go: Add replace statement for forked jsonpath package so we use dolthub's…
2021-10-05 17:19:35 -07:00
andrew-wm-arthur bb008c11b8 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-10-05 23:55:40 +00:00
AndyA 7d55ba65c9 Merge pull request #2222 from dolthub/db/go-mod
/go/go.mod: go mod tidy
2021-10-05 16:54:45 -07:00
Dustin Brown cc3aa08040 /go/go.mod: go mod tidy 2021-10-05 16:50:00 -07:00
Andy Arthur d8da62b277 fix go mod? 2021-10-05 16:43:38 -07:00
Andy Arthur d1c5ecd89e add replace statement for forked jsonpath package so we use dolthub's version 2021-10-05 16:36:47 -07:00
Brian Hendriks 63a1bc5c14 Bh/update opt (#2219) 2021-10-05 16:25:46 -07:00
Aaron Son d219609d2e Merge pull request #2217 from dolthub/aaron/remotestorage-update-size-limited
go/libraries/doltcore/remotestorage: Interface for cache returns true if cache is full / truncated in size.
2021-10-05 16:12:58 -07:00
Dustin Brown fecb46db2c Merge pull request #2218 from dolthub/db/winget
[no-release-notes] /.github/workflows/ci-bump-winget.yaml: add winget release
2021-10-05 15:29:05 -07:00
Dustin Brown 5de1b80c87 /.github/workflows/ci-bump-winget.yaml: add winget release 2021-10-05 15:05:40 -07:00
Aaron Son f87b9dad0a go/libraries/doltcore/remotestorage: Fix missing error check on chunk store Put. 2021-10-04 17:11:17 -07:00
Vinai Rachakonda 2ba0439b3e Update load data bats to remove secure_file_priv (#2207) 2021-10-04 17:01:55 -07:00
Aaron Son abffd995df go/libraries/doltcore/remotestorage: Interface for cache returns true if cache is full / truncated in size. 2021-10-04 16:51:58 -07:00
Zach Musgrave 23df5c88fe Merge pull request #2211 from Juneezee/deprecate-ioutil
refactor: move from io/ioutil to io and os package
2021-10-04 14:10:04 -07:00
Dustin Brown 484557c639 [ga-bump-dep] Bump dependency in Dolt by VinaiRachakonda (#2210)
Co-authored-by: VinaiRachakonda <vinai@dolthub.com>
2021-10-04 12:14:48 -07:00
Maximilian Hoffman 9a7a49f516 initial dolt backup cli (#2208)
* prototype

* backup pushes noms root

* backup pushes root value, basic restore still needs origin drop

* bats tests, no origin on restore, only head ref on restore

* cleanup code, up to date bats test

* make backup restore a root sync also, to catch branches and remote refs

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

* couple of tim's comments

couple of tim's comments

* zach's comments

* loosen restrictions for conflicting remote addresses

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

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-10-04 11:53:05 -07:00
Eng Zer Jun 8164a625c7 refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-05 01:40:59 +08:00
Vinai Rachakonda 4625620e6b Add a warning for CREATE DATABASE (#2191)
create database warning
2021-09-30 16:28:27 -07:00
Aaron Son 2e1c00f4ef Merge pull request #2204 from dolthub/aaron/max-read-size-in-nbs-store
go/store/nbs: table_reader.go: canReadAhead: Limit how large a read can get from coalescing individual chunk reads.
2021-09-30 13:18:06 -07:00
reltuk 8d5e58a085 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2021-09-30 19:12:08 +00:00
Aaron Son 2cd16b0a46 go/store/nbs: table_reader.go: canReadAhead: Limit how large a read can get from coalescing individual chunk reads. 2021-09-30 12:10:33 -07:00
Maximilian Hoffman 8a5f3f54be config, clone, backups refactor (#2196)
* shittiest read replica imaginable is kind of working

* import cycle progress

* delete unecessary files and fix  db type switch bug

* Add bats test

* delete comments

* fix working set updates for cli

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

* clean comments

* comment racy server test

* move env variables to local dolt config

* refactor clone, fix multienv test

* cleanup comments

* missing copyright

* brian's comments, add compile time checks for config interfaces

* format

* fix windows filepaths issue

* file:/// with three slashes should work on windows

* more windows problems

* three slashes didn't work for clone, do chdir to ref local dolt db

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-09-29 19:10:37 -07:00
Dustin Brown 96e7adf387 Merge pull request #2200 from dolthub/db/main-migration
[no-release-notes] /.github/workflows: change branch
2021-09-29 13:56:57 -07:00
Dustin Brown bf28746665 /.github/workflows: change branch 2021-09-29 13:33:52 -07:00
Maximilian Hoffman a0f6799a2c FF head on read replica (#2182)
* shittiest read replica imaginable is kind of working

* import cycle progress

* delete unecessary files and fix  db type switch bug

* Add bats test

* delete comments

* fix working set updates for cli

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

* clean comments

* comment racy server test

* zach's comments

* add copyright headers

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-09-29 10:23:07 -07:00
Zach Musgrave 325ec6b707 Merge pull request #2194 from dolthub/zachmu/fk-checks-test
Added a test for disabling foreign keys during SQL export
2021-09-28 17:12:22 -07:00
Zach Musgrave e864b4f1d4 Added a skipped test 2021-09-28 16:42:38 -07:00
Zach Musgrave a2994a8730 Added tests for export for set and json types 2021-09-28 15:58:44 -07:00
Zach Musgrave 37a19df901 Fixed quoting problems for enum and set types 2021-09-28 15:49:26 -07:00
Zach Musgrave 0add68f810 Added skipped test for foreign key checks in sql export 2021-09-28 13:58:20 -07:00
Zach Musgrave 10168f18b7 Merge pull request #2193 from dolthub/zachmu/sql-export
Bug fix for SQL export of enum columns
2021-09-28 13:57:02 -07:00