Commit Graph

1304 Commits

Author SHA1 Message Date
jennifersp 4565f37da2 turn off opt-in feature for unix socket (#4413) 2022-09-28 10:28:01 -07:00
jennifersp a1e57989bb allow drop current database directory and fix drop db with '-' (#4400) 2022-09-27 11:45:07 -07:00
jennifersp 691997b87a support dolt_diff_summary_table_function (#4363) 2022-09-26 09:48:58 -07:00
James Cor c05244936a Merge pull request #4399 from dolthub/james/bindvars
adding prepared tests for dolt stored procedures
2022-09-23 12:35:41 -07:00
Aaron Son e01f7aa7d7 Merge pull request #4394 from dolthub/aaron/sql-variables-cluster-role-and-epoch
sql-server: Implement dolt_cluster_role, dolt_cluster_role_epoch variables, dolt_assume_cluster_role procedure.
2022-09-23 11:44:55 -07:00
James Cor fc2e07ed6b fixing test 2022-09-22 16:16:46 -07:00
Aaron Son 09bed9471d sql-server: Add dolt_assume_cluster_role procedure.
Currently implements rules around epoch changes and updates the persisted and
global session variables.
2022-09-22 11:53:15 -07:00
Aaron Son 13e8cab325 sql-server: Add read-only handling for cluster role and role_epoch system variables. 2022-09-22 10:04:32 -07:00
Zach Musgrave aa521524a2 Merge pull request #4389 from dolthub/zachmu/dolt-commit-race
Fix race for concurrent dolt_commit calls
2022-09-22 09:23:50 -07:00
Zach Musgrave 2cde333fbd New node test for concurrent dolt_commit 2022-09-21 17:21:55 -07:00
Aaron Son 2a56d984c5 Merge pull request #4387 from dolthub/aaron/remotestorage-remotesrv-support-repo-path
remotestorage,remotesrv: Be less restrictive in repository paths for remotesapi repos that are not served through dolthub.
2022-09-21 16:41:30 -07:00
Aaron Son 9ce8016719 Merge pull request #4383 from dolthub/aaron/sql-server-read-repica-force-pull-setting
go/libraries/doltcore/sqle: ReadReplicaDatabase: Add variable for force pulling remote branches.
2022-09-21 16:37:20 -07:00
Tim Sehn 29ba8f417f Merge branch 'main' into tim/fix-bats 2022-09-21 12:50:08 -07:00
Aaron Son 91a09258ec go: remotesrv: Use RepoPath when it is provided. 2022-09-21 11:55:58 -07:00
Dhruv Sringari 8c8f27d2ad Implement merge stats for the new format (#4384)
* Add prolly.MergeMapsWithStats

* don't use a callback to update merge stats

* thread merge stats through doltcore/merge
2022-09-21 10:55:49 -07:00
Tim Sehn 338f54ab4e Added missing closing backtick 2022-09-20 17:22:31 -07:00
Tim Sehn ec5f51040f Improved parquet tests and added docs on how to get them to work 2022-09-20 17:21:29 -07:00
Tim Sehn 49f07dc2b7 Updated bats README and a test to make it easier to get started 2022-09-20 15:56:32 -07:00
Aaron Son 7b777e921f go/libraries/doltcore/sqle: ReadReplicaDatabase: Add variable for force pulling remote branches. 2022-09-20 15:46:53 -07:00
jennifersp 51952b84a1 have TempTableFilesDir() return err if .dolt is not found (#4301) 2022-09-16 20:29:21 -07:00
Dhruv Sringari 7e0a66b68f Add -A (--ALL) to dolt commit and CALL DOLT_COMMIT (#4347)
* Add -A (--ALL) to dolt commit

-A adds all tables (including) new tables to the staged set before committing

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

* bump prepareds, PR comment

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-09-16 11:38:25 -07:00
Aaron Son 0f8a9f16fc Merge pull request #4345 from dolthub/aaron/sql-server-remotesapi-read-replication
[no-release-notes] bats: sql-server-remotesrv.bats: Add a bats test for sql-server read replica running against a sql-server --remotesapi-port remote.
2022-09-14 16:44:16 -07:00
Aaron Son 966f53a873 bats: sql-server-remotesrv.bats: Add a bats test for sql-server read replica running against a sql-server --remotesapi-port remote. 2022-09-14 11:38:09 -07:00
Aaron Son 30ca51423e Merge pull request #4336 from dolthub/aaron/sql-server-can-run-read-only-remotesrv
sql-server: Let sql-server expose a remotesapi service to allow cloning, fetching and read replication from its databases.
2022-09-14 11:10:08 -07:00
Zach Musgrave 43a41646f5 Merge pull request #4325 from dolthub/zachmu/kill-pipeline
[no-release-notes] Refactoring: killed off last lingering uses of pipeline package
2022-09-14 10:49:36 -07:00
Daylon Wilkins 9e9f9e65c2 Unskipped bats test 2022-09-14 07:48:31 -07:00
James Cor eda6e066b1 Merge pull request #4335 from dolthub/james/users
cmd user/password arguments always override yaml config
2022-09-13 18:33:34 -07:00
Dhruv Sringari 00ae8c0808 Trim trailing nil fields from tuples (#4316)
* skip diffs caused by short tuples

* fix tests

* last fix

* trim null suffixes of val.Tuple's

* fix

* [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-09-13 17:07:38 -07:00
Zach Musgrave 0f5276a48a Fixed more tests 2022-09-13 17:04:18 -07:00
James Cor 9e30c6951b new logic and tests 2022-09-13 16:01:25 -07:00
Aaron Son 1e063322fb go/cmd/dolt/commands/sqlserver/server.go: Make it a startError if you supply a remotesapi-port and there is an error binding/listening to it. 2022-09-13 15:19:11 -07:00
Aaron Son bdd7c9cd95 integration-tests/bats: Add some tests for sql-server running with remotesapi-port. 2022-09-13 15:04:39 -07:00
Zach Musgrave 3844a0122d Fixed dropped error for some engine errors 2022-09-13 14:49:49 -07:00
James Cor da9177518b bats testsgit add .! 2022-09-13 14:17:12 -07:00
Aaron Son 72a76f63e7 Merge pull request #4323 from dolthub/aaron/remotesrv-server-library
go/utils/remotesrv: Make remotesrv implementation into a library which can be used from dolt proper.
2022-09-13 10:00:39 -07:00
Zach Musgrave 497307c148 Merge pull request #4302 from dolthub/zachmu/sql-output
Changes to SQL output, including row summary, timing and empty set output
2022-09-12 16:08:12 -07:00
Aaron Son 6099c71966 go/utils/remotesrv: Allow http-port and grpc-port to be the same. Allow GRPC server to echo :authority header if no -http-host is supplied. 2022-09-12 15:54:27 -07:00
jennifersp f528ff1b6a create db when no current db is set (#4315) 2022-09-12 14:51:40 -07:00
Zach Musgrave 4f4043b440 Fixed broken json printing for json columns 2022-09-12 14:47:04 -07:00
Zach Musgrave ecb7b69bfc Fixed JSON test 2022-09-12 12:29:34 -07:00
Zach Musgrave 1c1a03e965 Fixed more tests 2022-09-12 12:25:43 -07:00
Zach Musgrave 9f5ddd1ffb More bats fixes 2022-09-12 12:17:23 -07:00
Zach Musgrave 30e62df494 Fixing bats tests from new output 2022-09-12 12:14:12 -07:00
Jason Fulghum 6cadd96237 Merge pull request #4267 from tanyongzhi/790-diff-skinny
Add dolt diff --skinny flag
2022-09-12 11:35:16 -07:00
Jason Fulghum 41c042406c Adding another assertion for the pk field 2022-09-12 10:28:08 -07:00
Jason Fulghum 5127e02435 Removing unnecessary test 2022-09-12 10:27:46 -07:00
Jason Fulghum 4a54e85393 Removing test output code 2022-09-12 10:27:32 -07:00
Tan Yong Zhi 5ab5f499fc Address reviewer comments 2022-09-11 13:53:38 +08:00
jennifersp 6f64e0ae98 add --author flag to merge (#4296) 2022-09-09 14:49:44 -07:00
Aaron Son 509accded5 SQL: DOLT_CHECKOUT: Support checking out a branch which does not have an associated working set. 2022-09-08 16:33:02 -07:00