Commit Graph

290 Commits

Author SHA1 Message Date
zachmu
c7b9f0661f [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-03-15 02:22:12 +00:00
Zach Musgrave
fc79d40dba Return a consistent table ordering for diffs 2023-03-14 16:34:19 -07:00
Zach Musgrave
fd53ab6506 First pass at structure 2023-03-14 15:56:20 -07:00
Andy Arthur
6e89a53d5a go/doltcore/diff: pr feedback 2023-03-13 19:07:43 -07:00
Andy Arthur
b4459bbb26 go/doltcore/diff: reproduce score-warrior failure 2023-03-13 16:51:02 -07:00
Andy Arthur
a9c3e61ef0 go/doltcore/diff: add diff splitter test 2023-03-12 11:25:39 -07:00
Andy Arthur
c752522b1e go/doltcore/diff: refactored diff splitter 2023-03-10 17:23:32 -08:00
Andy Arthur
5b6d192ee6 Revert "go/doltcore/diff: remove equality check in diff splitter"
This reverts commit 4c647c2aff.
2023-03-10 13:15:28 -08:00
Andy Arthur
69edb9075a Merge remote-tracking branch 'origin/main' into andy/cli-diff-fix 2023-03-10 09:44:50 -08:00
jennifersp
73630c98f4 make dolt_patch() stored procedure into dolt_patch() table function (#5527) 2023-03-09 18:10:54 -08:00
Andy Arthur
4c647c2aff go/doltcore/diff: remove equality check in diff splitter 2023-03-09 15:30:36 -08:00
Taylor Bantle
972dddc080 Merge pull request #5499 from dolthub/taylor/fix-td-schema
Fix `schema_change` column in `dolt_diff_summary` reporting false for foreign key changes
2023-03-06 20:39:10 -08:00
Taylor Bantle
794f624f13 Check if foreign keys changed in tableDelta.HasSchemaChanged 2023-03-06 14:52:01 -08:00
Aaron Son
6444dcd4dd go/store/types: Less back to taking NBF, not ValueReader. 2023-03-06 09:35:40 -08:00
Aaron Son
6e61b3a771 go/store/types: Thread ctx through Value.Less. 2023-03-06 09:35:40 -08:00
Taylor Bantle
f8913b5a62 Use row data hash to determine if table delta data changed 2023-03-02 15:48:10 -08:00
jennifersp
1ce1247639 [no-release-notes] expose some generate create table definition function for ld usage (#5466) 2023-03-01 20:26:16 -08:00
jennifersp
cbe7e08508 add dolt_patch() stored procedure (#5413) 2023-03-01 14:27:44 -08:00
Taylor Bantle
61ec225e58 Add {from/to}_table_name cols to dolt_diff_summary function 2023-02-28 14:48:00 -08:00
Taylor Bantle
a1e412fd11 Merge remote-tracking branch 'origin/main' into taylor/new-diff-summary 2023-02-24 15:36:00 -08:00
Taylor Bantle
db4cbd1c75 Comment fixes 2023-02-24 12:01:55 -08:00
Taylor Bantle
eaee77c271 Fixes 2023-02-24 11:53:44 -08:00
Taylor Bantle
82b8bf1a72 Update dolt_diff_summary table function with new summary, fix tests 2023-02-24 11:45:09 -08:00
Taylor Bantle
2f818e903c Use processTableDelta logic in td.GetSummary 2023-02-24 10:27:37 -08:00
Taylor Bantle
86ebfa9a3a Fixes 2023-02-23 12:27:41 -08:00
Taylor Bantle
30ec1e7e79 Progress on new diff --summary 2023-02-23 12:20:17 -08:00
Taylor Bantle
6b87f9885c Rename dolt_diff_summary table function to dolt_diff_stat 2023-02-22 13:46:41 -08:00
Taylor Bantle
be862d796c Rename dolt diff --summary to dolt diff --stat, remove some unused code 2023-02-22 13:41:46 -08:00
Daylon Wilkins
75ec9ca946 Line-based diffs for modified multiline rows 2023-02-22 07:44:52 -08:00
Dhruv Sringari
7e08fbb636 Change dolt_diff_summary table function to return empty diffs for tables with pk set changes.
- The 3 argument version returns an error if the table specified has a pk set change.
- The 2 argument verison returns empty diffs and returns a warning.

I considered approximating the diff for the pk set change, but it feels like an overreach
for the customers need.
2022-11-17 12:11:05 -08:00
Andy Arthur
258c89ee43 example identity tests for column/table matching 2022-10-12 15:36:34 -07:00
jennifersp
691997b87a support dolt_diff_summary_table_function (#4363) 2022-09-26 09:48:58 -07:00
Zach Musgrave
0b0d352483 Finished killing pipeline package 2022-09-12 15:50:05 -07:00
Zach Musgrave
593e32fe6a Merge main 2022-08-24 16:00:36 -07:00
Andy Arthur
cae47d06ff cleanup some uses of doltdb.Table.GetNomsRowData 2022-08-24 14:05:20 -07:00
Zach Musgrave
a07dceeb75 Moved start and close code for json writer around 2022-08-24 10:30:54 -07:00
Aaron Son
0ff751a2f5 Merge remote-tracking branch 'origin/main' into aaron/fb-error-on-new-fields 2022-08-23 12:06:20 -07:00
Zach Musgrave
b05235dae8 Fleshing out table diff writer interface and its needs, did some renaming of related interfaces 2022-08-23 10:26:49 -07:00
Zach Musgrave
4e7f392dbd Bug fixes, new schema diff interface 2022-08-23 10:03:31 -07:00
Dhruv Sringari
9758e697c8 Allows diff to be performed across primary key renames (#4156)
* allow diff across pk renames

* pr comments
2022-08-22 14:58:55 -07:00
Dhruv Sringari
4df584336e Fix for diffing across Dolt databases (#4097) 2022-08-16 14:18:35 -07:00
Aaron Son
e16975e50c Merge remote-tracking branch 'origin/main' into aaron/fb-error-on-new-fields 2022-08-16 12:06:40 -07:00
Aaron Son
7906c9e98f go/{store,libraries,gen}: Adopt new flatc, throw an error if we encounter unknown fields. 2022-08-16 11:57:14 -07:00
Andy Arthur
7a70fe1856 cleanup remaining references to __DOLT_1__ 2022-08-09 15:34:10 -07:00
Dhruv Sringari
cad363deeb Fix indeterministic diff delta matching (#4036)
* fix indeterministic diff delta matching

Before this fix, tables with different names would attempted to be matched even if there was a pair of tables with a matching name.

* add a test

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

* copyright

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-08 17:44:28 -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
Andy Arthur
1c5481d6e5 Merge remote-tracking branch 'origin/main' into andy/dolt-docs 2022-07-15 10:01:03 -07:00
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
Andy Arthur
faaf7da768 Merge remote-tracking branch 'origin/main' into andy/dolt-docs 2022-07-13 11:15:19 -07:00
Andy Arthur
7b6e77e565 rip out docs 2022-07-05 17:25:28 -07:00