Commit Graph

159 Commits

Author SHA1 Message Date
Zach Musgrave fa32453e31 Added a repo name param to all server tests 2021-07-27 13:11:14 -07:00
Maximilian Hoffman 909fdf4117 keyless secondary index (#1886)
* Initial keyless secondary index

* Cleanup code

* Add bats test

remove comments

* Remove confusing diff

* Remote feature gate

* Adds index insert, delete on row, should work with update. Not concurrency safe, might need to use ActionExecutor

* Fix the cardinality issues, card stored in index value tuple, indexKey returned multiple times in lookup range iterator

* Add index unit tests

* Refactor cardCounter, add describe bats

* Remove the extraneous iea map

* Fix inRange bug

* Remove types.Tuple{} usage

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

* Delete commented line

* small tuple changes

* Fix noerror mistake

* Keyless indexEd undo in it's own closure

* Fix broken foreign key reference cascades

* QOL edits re: PR feedback

* Better comment

* Delete extraneous comment

* Delete extraneous comment

* Fix noms row ReduceToIndexKeys comment

* Add basic keyless FK cascade checks

* Daylon's PR comments

* Add keyless fk bats starter

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

* Skip extra bats

* Replace PK reference with keyless index, skip 2 extra testsg

* Fix bats test names

* bats test name change typo

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2021-07-26 14:52:29 -07:00
Vinai Rachakonda 02aacf5f8d Add Bats Testcase for importing and exporting timestamps (#1939)
Add testcase
2021-07-25 14:32:29 -07:00
Vinai Rachakonda 3111cc4a5b No-op bad alter table auto increment (#1930) 2021-07-21 14:24:07 -07:00
Daylon Wilkins 1d33bde91b Reworked verify-constraints and renamed to constraints verify 2021-07-20 18:16:38 -07:00
Vinai Rachakonda 5134c4d822 Vinai/push error check (#1932) 2021-07-20 12:39:06 -07:00
Daylon Wilkins 8d971dcd35 Added fast forward handling and fleshed out constraint violation messages 2021-07-15 17:16:16 -07:00
Andy Arthur 4a83a6e1ea bats test 2021-07-15 14:31:05 -07:00
Daylon Wilkins e68c6b2418 Foreign key and unique key constraint violation tests 2021-07-13 16:00:42 -07:00
Daylon Wilkins 2f4a949435 Added foreign and unique key constraint violations 2021-07-13 16:00:42 -07:00
Vinai Rachakonda 622a425ea3 Vinai/ai transactions (#1876)
This pr fixes auto increment behavior to deal with concurrency and multiple sessions.
2021-07-13 15:35:29 -07:00
Dustin Brown 35ed7e6243 Merge pull request #1892 from dolthub/db/schema-infer
fix: infer_schema treat leading zero numbers as strings
2021-07-07 13:32:53 -07:00
Dustin Brown fdd6d33293 /{go,integration-tests}: fix parse int with leading zero issue 2021-07-07 11:21:54 -07:00
Zach Musgrave 475a6c4787 Merge pull request #1890 from dolthub/zachmu/tx-enabled
Enable SQL transactions by default, and begin writing working set to database instead of repo_state.json file
2021-07-06 18:12:47 -07:00
Brian Hendriks 88fd93e7cc Bh/push pull temptf (#1885) 2021-07-06 17:09:16 -07:00
Zach Musgrave 628b519740 Fixed remotes test 2021-07-05 09:56:49 -07:00
Zach Musgrave 4ccc0cb19b skipped broken trigger conflict test 2021-07-04 20:40:06 -07:00
Zach Musgrave 95c133618a Fixed index bats test 2021-07-04 20:21:49 -07:00
Zach Musgrave 0626b90be2 Fixed test in sql 2021-07-04 20:13:09 -07:00
Zach Musgrave 5d9c4d7821 Fixed the sql-conflicts tests 2021-07-04 20:01:39 -07:00
Zach Musgrave 2f9273531b Fixed sql-server test 2021-07-04 18:22:12 -07:00
Zach Musgrave cb15b41e1f skipped manual squash test, behavior unclear 2021-07-04 17:50:39 -07:00
Zach Musgrave f3eddf10a1 Fixed a few issues in bats tests 2021-07-04 17:29:27 -07:00
Zach Musgrave 0aca0ba4c0 Fixed final sql-merge test 2021-07-04 16:05:50 -07:00
Zach Musgrave addb2b3823 Fixed comment 2021-07-04 15:50:23 -07:00
Zach Musgrave 03bd1fa913 Wrote test of dolt_merge(--abort) 2021-07-04 15:49:31 -07:00
Zach Musgrave f6ab51d831 Rewrote a dolt_conflicts test 2021-07-04 15:38:55 -07:00
Zach Musgrave 8badd52d30 Fixed merge test 2021-07-04 14:31:21 -07:00
Zach Musgrave 14a7924445 Fixed a test 2021-07-04 10:23:13 -07:00
Zach Musgrave e78ed3b263 Merge master 2021-07-04 09:30:24 -07:00
Brian Hendriks 86bd20a4cd dolt roots command (#1891) 2021-07-04 07:51:07 -07:00
Zach Musgrave 28a73e495e Iteratring on last failing sql server test 2021-07-03 19:44:10 -07:00
Zach Musgrave 5bdb94fb9e Fixed a bug in sql checkout test 2021-07-03 19:41:51 -07:00
Zach Musgrave 79694f409c Fixed one server test 2021-07-03 17:56:45 -07:00
Zach Musgrave 82171757c9 Fixed and expanded the commit tests 2021-07-03 16:24:00 -07:00
Zach Musgrave 3783ade221 Fixed more tests, but still not working, probably because of errors in dolt_commit() 2021-07-03 12:12:41 -07:00
Zach Musgrave 25d5ee8c74 Fixed two dolt_checkout tests with new semantics 2021-07-03 10:57:24 -07:00
Aaron Son 41639a5936 bats/aws-remotes.bats: Change AWS remotes test so it doesn't delete last branch in the remote. 2021-07-02 15:30:29 -07:00
Aaron Son 120f65e830 go/libraries/doltcore/doltdb: Prohibit deleting the last branch ref in the dataset. 2021-07-02 14:36:27 -07:00
Dustin Brown 3cb68a213c /integration-tests/bats/import-create-tables.bats: add skipped bats test reproducing error 2021-07-02 14:32:50 -07:00
Zach Musgrave e1b34fdc74 Updated tests for dolt_checkout(), exposed major problems in that implemntation 2021-07-02 12:43:43 -07:00
Zach Musgrave e22a0cc3c2 Fixed dolt_add by turning transactions on by default (they don't work otherwise now) 2021-07-01 17:37:53 -07:00
Zach Musgrave d16d5d0dd1 Fixed a bug in active_branch (and other places) owing to the ToHeadRef method on WorkingSetRef. Also skipped a test in sql.bats 2021-07-01 17:12:39 -07:00
Katie McCulloch 2058e416be Merge pull request #1880 from dolthub/km/improve-error
Improve Error message when merge fails because of different primary keys
2021-07-01 11:17:57 -07:00
Vinai Rachakonda df7dd3997c Vinai/print race condition (#1858)
Fixes parallelism and buffer problems in pretty print
2021-07-01 13:02:06 -04:00
Katie McCulloch 75a69d115d PR feedback: Update error msg wording 2021-06-30 14:58:59 -07:00
Maximilian Hoffman f5d4e6a7b2 Merge pull request #1879 from dolthub/max/rm-jq
Rewrite jq test
2021-06-30 14:42:55 -07:00
Katie McCulloch 6b7c47b88d integration-tests/bats/schema-changes.bats: Update error string in test 2021-06-30 13:02:34 -07:00
Max Hoffman 1f5ae917f9 Rewrite jq test 2021-06-30 12:24:54 -07:00
Aaron Son 144457cc2b integration-tests/bats/sql.bats: Add small bats test for UPDATE targeting join. 2021-06-30 12:20:58 -07:00