Commit Graph

79 Commits

Author SHA1 Message Date
Zach Musgrave 2178d674e8 Moved a lot of things around to mostly eliminate the sqltestutil package, as well as everything else in the old sql package, and then get rid of import cycles.
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-04-28 16:28:43 -07:00
Zach Musgrave 7ead0abbf6 Added json output format for SQL, and fixed null printing bug in CSV output
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-04-10 11:52:19 -07:00
Andy Arthur 563ca98398 deterministic tag generation changes 2020-03-30 16:02:08 -07:00
Andy Arthur 6236663427 added doc strings to exported methods 2020-03-09 12:05:44 -07:00
Andy Arthur 538180537c cleanup 2020-03-09 10:48:36 -07:00
Andy Arthur a81563a8a1 reorganized to creat testcommands package 2020-03-09 10:48:36 -07:00
Zach Musgrave a996e0ce62 Implemented table rename in engine. Including a column rename left over from last commit.
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2019-12-26 12:04:57 -08:00
Andy Arthur e08f1848fd created library methods for schema modification sql statements 2019-12-04 15:46:38 -08:00
Brian Hendriks c7e47f8d6a Bh/super schema (#214)
* super schemas
* diff table
* disable diff_tables for now.
2019-11-18 16:21:02 -08:00
Andy Arthur 8bddfddd7b updated unittests 2019-11-18 08:52:36 -08:00
Andy Arthur 0546757be2 unittests 2019-11-15 15:16:16 -08:00
Andy Arthur c4d27b14eb unit test for findRenames 2019-11-15 14:56:03 -08:00
Andy Arthur 38fb4dbf0c renaming func 2019-11-15 14:54:40 -08:00
Andy Arthur 8d9b95d948 repo format 2019-11-15 11:18:00 -08:00
Andy Arthur 6ce033b972 using sql.SchemaAsCreateStmt 2019-11-15 11:16:08 -08:00
Andy Arthur 930c66d189 repo fmt 2019-11-15 10:07:41 -08:00
Andy Arthur 2db9217ba3 refactored 2019-11-15 10:06:56 -08:00
Andy Arthur 802ceb00aa expanding bats tests 2019-11-15 09:45:18 -08:00
Andy Arthur 800fc38f47 adding copyright 2019-11-15 08:56:32 -08:00
Andy Arthur 5aa709f229 repo format 2019-11-15 08:42:47 -08:00
Andy Arthur d587f56031 added renaming 2019-11-15 08:41:19 -08:00
Andy Arthur f3cb987484 extending test to cover renames 2019-11-14 17:30:32 -08:00
Andy Arthur 05ce307ea9 fixed bug in table differ 2019-11-14 17:22:56 -08:00
Andy Arthur 380e35bec7 new table diff implementation 2019-11-14 16:09:09 -08:00
Andy Arthur c0eeec2d5b removing breaking print stmt 2019-11-14 14:14:06 -08:00
Andy Arthur 7efba0e1a6 refactored 2019-11-14 12:41:32 -08:00
Andy Arthur 6fd64dfcfd rows of new tables are inserting, woof 2019-11-13 17:29:02 -08:00
Andy Arthur 36805ea6db removed dead code 2019-11-12 17:01:25 -08:00
Andy Arthur 5f7bcd7fda responding to PR comments 2019-11-12 16:28:36 -08:00
Andy Arthur 4dc34f1686 merging master and fixing conflicts 2019-11-11 10:12:33 -08:00
Andy Arthur eb05be2297 refactored branch 2019-11-11 09:02:26 -08:00
Andy Arthur 735fbee264 sql diffs working correcrtly now 2019-11-08 17:08:30 -08:00
Andy Arthur 97ea32eade cleanup 2019-11-07 15:46:43 -08:00
Andy Arthur c3ac9a0835 simple sql diff update working 2019-11-07 15:21:52 -08:00
Andy Arthur 7c8a354e63 diff sql insert working 2019-11-07 12:13:53 -08:00
Andy Arthur 2b353d6fc9 plummed tableName 2019-11-06 17:59:45 -08:00
Andy Arthur 4e8612b09d added sql flags and new sql sink to diff 2019-11-06 16:00:36 -08:00
Brian Hendriks 69398406e6 Bh/diff summary opt (#117)
* diff --summary optimizations (moved to use an AsyncDiffer)
* Fixed cell modification count calculations
* Added additional incremental output.
* Extra tests
2019-10-07 15:43:43 -07:00
Taylor Bantle 4da04bc843 Combine summary and diffSummaryValueChanged functions 2019-10-03 13:09:25 -07:00
Taylor Bantle 58ee619005 Move summary display functions to cmd, replace returning verr to using atomicerr, change type of values to map 2019-10-02 12:45:16 -07:00
Taylor Bantle 0b43e06e2e Diff summary includes cells modified 2019-10-01 17:16:19 -07:00
Taylor Bantle 93f07b64fc diff summary printing added, deleted, modified, unmodified 2019-09-27 15:46:26 -07:00
Brian Hendriks 55c2412db3 error changes (#7)
The existing noms codebase uses panics for signaling errors in most cases.  This is not idiomatic go, and it is not the optimal behavior when building cloud services, or products on top of noms as a panic in any go routine causes the entire process to exit.

This is a large step in removing panics, and bubbling errors up through the code.
2019-08-06 15:00:02 -07:00
Aaron Son 5fc6fd5d6a go: Update for dolt at root of repository. 2019-07-24 10:28:54 -07:00
Aaron Son 23a0f5a33e Merge remote-tracking branch 'origin/master' into aaron/dolt-3pdeps-license-fetching 2019-07-23 16:07:50 -07:00
Aaron Son e50cf78cdb Merge remote-tracking branch 'origin/master' into aaron/dolt-go-govet 2019-07-23 15:52:54 -07:00
Aaron Son 3ade997ec7 dolt/go: Fix all go vet errors. 2019-07-23 12:33:04 -07:00
Aaron Son 6619700b5a dolt/go: Add utils/repofmt/check_fmt.sh, and standardize goimports config across repository. 2019-07-23 11:59:06 -07:00
Aaron Son 732086a9c7 dolt/go: Add copyright notices to every file. For files from noms, retain and reference the previous copyright notice as well. 2019-07-22 17:06:35 -07:00
Aaron Son 15973f60c1 dolt/go: store/types: Rename Format to NomsBinFormat.
Standardize parameter name for *NomsBinFormat to nbf. Standardize `nbf` as
first (after `ctx`) parameter. Remove unnecessary `nbf` parameters when format
is available from incoming `Value` or `ValueReader`.
2019-07-16 13:27:26 -07:00