Commit Graph

157 Commits

Author SHA1 Message Date
Vinai Rachakonda
3e008f5bfb Implement the docs read writer. (#1120)
This pr implements the DocsReadWriter interface. It allows both dolt cli and dolt sql commands to read and write the docs.
2020-12-18 14:38:55 -05:00
Andy Arthur
5e354c86a6 pr feedback 2020-12-17 17:46:11 -08:00
Andy Arthur
c518c85d8e fix RowDiffere initialization 2020-12-17 13:38:44 -08:00
Andy Arthur
b635b72e7b match keyless tables by column intersection, ddl diff bats 2020-12-17 11:54:00 -08:00
Andy Arthur
16955d80cc dolt_diff_ table for keyless tables 2020-12-17 11:54:00 -08:00
Andy Arthur
fdcf5eaa77 unskipped more tests, fixed delete bug 2020-12-17 11:54:00 -08:00
Andy Arthur
febc6dc829 basic diffs working 2020-12-17 11:54:00 -08:00
Andy Arthur
b3e0652bae keyless diff --summary working 2020-12-17 11:54:00 -08:00
Andy Arthur
e6066f8a5b renamed diff/diffs.go -> diff/table_deltas.go 2020-12-17 11:54:00 -08:00
Vinai Rachakonda
39d5bc32f2 Remove root methods from rsr and rsw (#1117)
This pr is the first step in cleaning the RepoState interface in repo_state.go. It factors out several of the methods that provide access to the root.
2020-12-17 12:31:30 -05:00
Andy Arthur
d594bcdd8d unskipped BATS for basic SQL CRUD, fixed bugs 2020-12-16 09:39:35 -08:00
Aaron Son
dea7e002c9 go/libraries/doltcore/diff: Add recover in async_differ goroutine. 2020-12-15 15:28:46 -08:00
VinaiRachakonda
e0e21460e3 refactor methods to rsr and rsw 2020-12-03 17:31:56 -05:00
VinaiRachakonda
fa6339d43b Some initial commit changes such a refactoring parseMethods and cleaning up repostate definition 2020-12-02 17:08:13 -05:00
VinaiRachakonda
c63ef81854 Cleanup 2020-11-30 13:04:07 -05:00
VinaiRachakonda
0ec49f683c Do formatting and refactor some code 2020-11-30 13:04:07 -05:00
VinaiRachakonda
8cb8a4d782 Compiling 2020-11-30 13:03:09 -05:00
VinaiRachakonda
0718406bd7 MRebase 2020-11-30 12:57:27 -05:00
Aaron Son
d472655bf5 go/go.mod: Bump go-mysql-server; support prepared statements. 2020-11-11 09:56:08 -08:00
Aaron Son
9eb7151be6 Merge pull request #981 from dolthub/aaron/diff-summary-error-handling
Attempt to clean up error signaling in diff summary.
2020-11-04 11:34:38 -08:00
Taylor Bantle
b658c987b7 Run formatter 2020-11-02 14:39:51 -08:00
Taylor Bantle
5c6c50f8f3 Convert panic to errors for SchemaFromCols 2020-11-02 14:39:51 -08:00
Aaron Son
eb96988abb Merge remote-tracking branch 'origin/master' into aaron/diff-summary-error-handling 2020-11-02 11:07:55 -08:00
Aaron Son
84c3066348 go/**/*.go: Update copyright headers for company name change. 2020-11-02 10:17:02 -08:00
Aaron Son
4fcae36a50 go/libraries/utils/async: Add small utility, GoWithCancel. 2020-10-31 08:29:15 -07:00
Aaron Son
3030925c3d go: Convert some diff functions to use errgroup instead of atomicerr.
Attmept to clean up error signaling in diff summary.
2020-10-31 08:27:57 -07:00
AndyA
a1a1e45313 Merge pull request #933 from dolthub/andy/ignore-nulls-in-tuples
/go/libraries/doltcore/diff: Ignore NULLs in cell-wise diff
2020-10-23 12:00:29 -07:00
Zach Musgrave
53ddbf8a13 Removed debug code from query differ tests
Signed-off-by: Zach Musgrave <zach@dolthub.com>
2020-10-21 14:55:56 -07:00
Zach Musgrave
7836eb57b3 Checkpoint in fixing query differ tests
Signed-off-by: Zach Musgrave <zach@dolthub.com>
2020-10-19 08:56:03 -07:00
Andy Arthur
92678501ca refactored cell-wise diff to use row.TaggedValues 2020-10-13 17:00:31 -07:00
Daylon Wilkins
b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Daylon Wilkins
892de5ed98 Moved everything over to SHOW CREATE TABLE and fixed diff panic 2020-09-22 23:19:04 -07:00
Daylon Wilkins
3da3c8d037 Added new column defaults 2020-09-02 04:06:17 -07:00
Zach Musgrave
e3daf32091 Zachmu/query differ patch (#840) 2020-08-18 16:55:59 -07:00
Andy Arthur
40421c9587 removed that last usages of diff.TableDiff 2020-08-13 15:26:48 -07:00
Andy Arthur
e49feeb4a8 updated status to match tables by schema not name, now tracks renames 2020-08-13 14:38:58 -07:00
Zach Musgrave
05f05009b0 Updated to hard fork of vitess
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-08-07 15:52:17 -07:00
Zach Musgrave
e05a5f5bdc Fixed query differ to work with subquery expressions.
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-08-06 15:59:34 -07:00
Zach Musgrave
81e17b8132 Fixed compile errors due to interface / name changes in go-mysql-server
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-08-06 10:10:30 -07:00
AndyA
f42a0d77f7 Merge pull request #813 from liquidata-inc/andy/foreign-key-diff-merge
Foreign Key, Index changes
2020-08-04 14:22:14 -07:00
Andy Arthur
a26330b5de fixed index/fk diff, added tests 2020-08-03 10:12:30 -07:00
Andy Arthur
9e0544ac88 clean up 2020-08-02 12:34:54 -07:00
Andy Arthur
5b5aede7c0 split ForeignKey.Equals() into .EqualDefs and .DeepEquals 2020-08-02 09:54:17 -07:00
Andy Arthur
6244040f4a improved staging logic 2020-07-31 18:46:09 -07:00
Andy Arthur
f6b6f00c77 added schema to IterTables callback 2020-07-30 15:38:04 -07:00
Andy Arthur
f0d6eee6ae first pass 2020-07-30 10:26:39 -07:00
Andy Arthur
bdcb0fc919 unskipped query diff tests, repofmt 2020-07-28 13:18:31 -07:00
Zach Musgrave
cde9465290 Fixed breaking changes in analyzer
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-07-10 14:52:43 -07:00
Andy Arthur
bf0a7b67ef skipping unsupported queries instead of passing 2020-06-29 11:00:16 -07:00
Andy Arthur
3aaa5cc041 picked up latest master and go-mysql-server, repo fmt, cleanup 2020-06-26 19:16:08 -05:00