Commit Graph

32 Commits

Author SHA1 Message Date
Dhruv Sringari d2d0864391 [no-release-notes] keyless diff for the new format (#3817)
* keyless diff for the new format

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

* pr comment

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-13 14:42:43 -07:00
Zach Musgrave 5425b79a61 merge main 2022-06-24 09:56:53 -07:00
Zach Musgrave 81aa1d2159 Bug fix and test fix 2022-06-23 17:10:30 -07:00
Zach Musgrave 6c5addb509 Fixed keyless tests 2022-06-23 17:07:15 -07:00
Maximilian Hoffman ac80ba7770 New format blobs (#3588)
* [no-release-notes] New format blob read/write

Use blob chunker to write blobs out of band. Tests for
round tripping and address walking at the tree level.
Run Blob enginetests and extra large file blob tests.

* NodeStore ref refactors

* fix index

* run verify

* fix more bats

* small PR cleanup

* more changes

* last bats errors
2022-06-22 18:02:48 -07:00
Zach Musgrave 3d60c79e34 Unskip bats suite 2022-06-22 17:27:18 -07:00
Zach Musgrave 9212ae916e Bug fix and skipped a --summary test 2022-06-22 17:19:44 -07:00
Zach Musgrave e5866c3216 Small test change 2022-06-22 17:07:40 -07:00
Zach Musgrave 4154871627 Tests of --schema and --data flags 2022-06-22 15:18:56 -07:00
Zach Musgrave fe6e96964f More tests 2022-06-22 15:06:12 -07:00
Zach Musgrave 316b32f535 More tests 2022-06-22 09:47:02 -07:00
Zach Musgrave a9e2fc1104 Better diff where clause tests 2022-06-21 15:57:51 -07:00
Zach Musgrave a1903edadc Added where clause support, updated docs and tests 2022-06-21 15:53:04 -07:00
Zach Musgrave 769c5a6de8 Spacing changes 2022-06-17 15:52:00 -07:00
Zach Musgrave 9e1914ad44 Another fixed test 2022-06-16 17:53:15 -07:00
Zach Musgrave fd12bf033e Fixed another test 2022-06-16 17:51:07 -07:00
Zach Musgrave bb0f29ee79 Fixed test for schema-only diff 2022-06-16 12:33:24 -07:00
Zach Musgrave 217b239437 Fixed spacing in some tests 2022-06-15 16:49:31 -07:00
Andy Arthur 01587c8c20 more BATS skips for __DOLT_1__ 2022-05-10 14:08:47 -07:00
Jason Fulghum 4bebbcb892 Adding a BATS test to assert that a diff of a commit range that includes created or dropped tables shows a summary of changes, schema changes, and data changes. 2022-04-27 16:44:38 -07:00
jennifersp 94ad6bb78e Retain not null constraint on primary key columns when dropping primary key (#2745) 2022-02-04 15:20:21 -08:00
Vinai Rachakonda 57ab97e743 Fix auto fwt transform to not drop a row on flush (#2490) 2021-12-11 12:35:32 -08:00
Maximilian Hoffman 5976e99c52 default PrimaryKeySchema, maintain primary key ordinals (#2446)
Use `sql.PrimaryKeySchema` in Dolt for PK ordered indexes. Applies to Table and Foreign Key indexes. Column mutation tracks PK Ordinal changes.
2021-12-03 15:56:33 -08:00
James Cor bebb3e13aa diff must start with diff 2021-11-29 13:17:50 -08:00
James Cor 82785af659 added test to verify that not null constraint sticks even after removing primary key 2021-11-29 13:12:06 -08:00
Zach Musgrave 291fa1317a Fixed foreign key diff tests 2021-11-19 20:08:33 -08:00
Zach Musgrave 87697bedfc Fixed bug in diff with no schema diffs, added a couple new tests to catch it 2021-11-19 16:28:21 -08:00
Zach Musgrave 6394a1dfac Two fixed tests 2021-11-19 15:56:44 -08: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
Dustin Brown 5371ed510f /integration-tests/bats: fix bats tests 2021-09-23 14:30:43 -07:00
Katie McCulloch be2b2fc748 bats/diff.bats: Add test for diffing table with same name and different primary key sets 2021-06-29 14:33:24 -07:00
Dustin Brown 61b06450b1 /integration-tests: move bats 2021-03-15 14:04:40 -07:00