Commit Graph

129 Commits

Author SHA1 Message Date
Neil Macneale IV 0e053d4fe7 Test for new --data-dir option as global arg to sql subcommand 2023-04-26 13:39:04 -07:00
Zach Musgrave 01731f34da Debugging failing bats test 2023-02-27 18:41:38 -08:00
Zach Musgrave 623f83cf27 Moved some bats tests around, and rewrote the use database tests to actually fail correctly 2023-02-27 15:45:23 -08:00
Zach Musgrave 9e2822fc3d Tests for autocommit 2023-02-22 12:20:24 -08:00
Stephanie You 3d4c0e3b82 dolt_diff respects qualified database 2023-02-17 13:59:06 -08:00
Stephanie You 3b1307b884 fixes timing for multi statement queries 2023-02-07 11:56:37 -08:00
jennifersp b45fe90056 output correct result for empty JSON (#5242) 2023-01-27 14:05:04 -08:00
jennifersp a6278667b7 add bats tests for information schema tables (#5225) 2023-01-27 08:48:08 -08:00
Zach Musgrave 36d29f99a3 bats test expansion 2023-01-26 12:41:57 -08:00
Zach Musgrave 0f1236638f Bats test 2023-01-25 18:02:43 -08:00
Zach Musgrave 4a69f1a0fb Renames and bug fixes 2023-01-23 18:38:54 -08:00
Daylon Wilkins 8aeb1c659e Removed deprecated dolt functions 2023-01-03 02:13:37 -08:00
coffeegoddd 92f89a4981 /integration-tests/bats/sql.bats: unskip bats test 2022-12-27 14:02:21 -08:00
Dustin Brown ac22775040 Merge pull request #5054 from dolthub/db/sb
[no-release-notes] /integration-tests/bats/sql.bats: add skipped bats test for panic inserting golang zero time as datetime value
2022-12-27 20:36:18 +00:00
coffeegoddd 70a2a7239a /integration-tests/bats/sql.bats: add skipped bats test for panic inserting golang zero time as datetime value 2022-12-27 11:03:42 -08:00
James Cor ab0f4a9181 unskipping info schema schema test 2022-12-27 10:50:35 -08:00
Daylon Wilkins 52f44b0a2c Fixed DELIMITER 2022-12-15 07:08:37 -08:00
jennifersp f0bcb7e6b3 allow not and is null clauses with dolt diff table (#4797) 2022-11-15 13:38:15 -08:00
Pavel Safronov c9f1316840 PR feedback and other:
- move tests to better locations
- remove debug echo statements from new tests
- getting the latest version of GMS
2022-11-11 12:13:19 -08:00
Maximilian Hoffman b351314939 join ordering GMS bump (#4516)
* init

* go.mod changes

* gms bump

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

* edit local gms

* GMS changes

* skip single q test

* fix tests

* fix lingering tests

* bump

* another explain bats

* gms bump

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

* gms bump

* [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>
2022-10-25 09:06:16 -07:00
jennifersp eee8a7224e add file read progress info for dolt sql --file=<file.sql> command (#4524) 2022-10-13 11:29:50 -07:00
James Cor 079c8ad5b0 adding test 2022-10-11 12:45:02 -07:00
Zach Musgrave 1c1a03e965 Fixed more tests 2022-09-12 12:25:43 -07:00
Tan Yong Zhi 178f541f34 Fix bats tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 5e8ffeae98 Should be the last of them 2022-08-26 12:14:05 +08:00
James Cor 320ee906bd syncing logic, and adding extra test 2022-08-16 10:14:27 -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
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 ae53d8a0ff Skip bats that causes panic 2022-08-11 14:22:33 -07:00
Taylor Bantle 5f1af3c851 bats: Tag test for duplicate commit db name 2022-08-11 14:17:22 -07:00
Taylor Bantle 4a55a11216 Add tags to databaseForRevision 2022-08-02 12:53:50 -07:00
James Cor 9623166ab9 more privilege changes (#3810) 2022-07-27 17:31:57 -07:00
James Cor 59ed5a54f7 better names for test cases 2022-07-15 10:46:25 -07:00
James Cor af2a75f5cd all tests for sql -q 2022-07-13 15:36:10 -07:00
James Cor 3455828f2b fixing test and throwing rror for multi db dir flag 2022-07-12 17:00:25 -07:00
James Cor 5747fa51ba maybe? 2022-07-12 15:53:21 -07:00
James Cor c15917ee36 more test 2022-07-11 11:40:17 -07:00
James Cor f6ec4c9c1b deleting directories better 2022-07-06 10:13:05 -07:00
James Cor 97e082cc09 removing better 2022-07-06 00:49:22 -07:00
James Cor e846f1e7b8 something important 2022-07-05 23:40:41 -07:00
James Cor 2baa661785 Merge branch 'main' into james/local-user 2022-07-05 14:57:54 -07:00
James Cor 359a33012f removing validating persist 2022-07-05 14:57:01 -07:00
Dhruv Sringari 24cac1f6c4 [no-release-notes] unskip more bats (#3737)
* Fix merge test for __DOLT_1__

* tree.ThreeWayMerge always calls callback when key collision occurs

* add keyless support for new format merge and other merge related tables

* newline of doom

* unskip more bats

* empty

* skip blame.bats and remotes-aws.bats
2022-07-01 17:00:42 -07:00
Vinai Rachakonda 9aad046353 [skip ci] Add skipped bats test for describe (#3716) 2022-06-29 09:55:00 -07:00
Andy Arthur 2d9634136f unskip some sql.bats 2022-06-23 12:16:14 -07:00
Daylon Wilkins 178259995b Unskipped bats tests 2022-06-21 04:03:39 -07:00
Daylon Wilkins 07f617e87a Simplified types, removed some type checks, fixed SELECT output 2022-06-11 19:06:41 -07:00
James Cor b5f667b270 adding test case 2022-06-08 10:15:43 -07:00
James Cor 37e2acffe7 tests 2022-06-08 10:07:09 -07:00
James Cor 7404b6a583 fixing tests 2022-06-08 10:02:58 -07:00