Nick Tobey
4c3748c4e4
Apply suggestions from code review
...
Co-authored-by: Jason Fulghum <jason@dolthub.com >
2025-02-24 19:31:51 -08:00
Nick Tobey
3c2827704f
Add comment to bats test.
2025-02-21 12:49:36 -08:00
Nick Tobey
d5c0f5abb2
Fix typo in env var name.
2025-02-21 12:47:44 -08:00
Nick Tobey
10e558dbbc
Add --DOLT_GC_SAFEPOINT_CONTROLLER_CHOICE environment variable and tests.
2025-02-19 19:20:37 -08:00
Tim Sehn
6af00ce059
Fixed all (or at least most) bats tests
2022-10-21 12:12:07 -07:00
Dhruv Sringari
ddc6f61e6f
Fix panic when merging tables that have a check constraint with some string literal ( #4582 )
...
* fix sending a nil ctx to sqle.ColumnsFromCheckDefinition
* fix bats
* pr comments
* fix tests
2022-10-19 20:51:38 -07:00
Tan Yong Zhi
9b4b805268
Fix more failing bats tests
2022-08-26 12:14:05 +08:00
jennifersp
6886a8721f
commit merge if no conflict ( #4105 )
2022-08-23 12:38:12 -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
Andy Arthur
967cf6ae79
remove __DOLT_1__ in favor of __DOLT__
2022-08-09 14:44:26 -07:00
Dhruv Sringari
2cf9a2134f
[no-release-notes] In __DOLT_1__, throw error if schemas have different primary key types ( #3852 )
...
* In __DOLT_1__, throw error if schemas have different primary key types
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* schema integration test fix
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* Compare SQL types
Co-authored-by: druvv <druvv@users.noreply.github.com >
2022-07-19 16:59:12 -07:00
Zach Musgrave
095b082746
Fixed test
2022-06-28 11:04:53 -07:00
Zach Musgrave
733618f492
Fixed another diff test
2022-06-28 10:57:05 -07:00
Zach Musgrave
aefffd170c
Fixed test (old behavior wasn't changing the case of the column name when asked, now behaves correctly)
2022-06-02 11:18:29 -07:00
Andy Arthur
01587c8c20
more BATS skips for __DOLT_1__
2022-05-10 14:08:47 -07:00
Jason Fulghum
660f250862
Fixing BATS test for table check constraint validation errors
2022-02-01 10:57:04 -08:00
Jason Fulghum
9f48db1695
Add fixes for add/drop column, add/drop pk to preserve table checks in altered schema.
...
Updated unit tests and BATS integration tests.
2022-01-31 11:09:52 -08:00
Jason Fulghum
066bf53e5d
Removing unnecessary "run" calls to simplify
2022-01-28 09:46:11 -08:00
Jason Fulghum
382b9f91e4
Adding a new BATS integ test for preserving table checks on schema changes, and a skipped test for failing when a schema is alterned in a way that invalidates a table check constraint.
2022-01-27 10:27:32 -08:00
Zach Musgrave
43395bffb2
Added tests for dropping and adding the same column. Currently not reused, which makes the diff less useful.
2021-11-22 15:01:25 -08:00
Zach Musgrave
12a7feb55b
Fixed bats test
2021-11-19 16:54:26 -08:00
Dustin Brown
5371ed510f
/integration-tests/bats: fix bats tests
2021-09-23 14:30:43 -07:00
Katie McCulloch
75a69d115d
PR feedback: Update error msg wording
2021-06-30 14:58:59 -07:00
Katie McCulloch
6b7c47b88d
integration-tests/bats/schema-changes.bats: Update error string in test
2021-06-30 13:02:34 -07:00
Dustin Brown
61b06450b1
/integration-tests: move bats
2021-03-15 14:04:40 -07:00