Commit Graph

168 Commits

Author SHA1 Message Date
Andy Arthur
b86c8464dd copy AUTO_INCREMENT value on schema change (index/column add/drop/modify) 2021-01-29 16:14:42 -08:00
Zach Musgrave
5abad68fbf Fixes for merging master, changed doltdocs.DoltDocsSchema to doltdocs.Schema 2021-01-27 09:14:09 -08:00
Zach Musgrave
f1b2e507b7 Merge master 2021-01-27 09:05:59 -08:00
Zach Musgrave
2f672c0958 NewColCollection no longer returns an error 2021-01-26 17:44:11 -08:00
Vinai Rachakonda
3342b8d58f Vinai/refactor docs (#1210)
This pr does a massive refactor of the internal state management with docs.
2021-01-25 17:00:27 -05:00
Brian Hendriks
0a9f203c41 projected column fixes (#1242) 2021-01-23 01:23:46 -08:00
Aaron Son
2ed61f501f go/libraries/utils/tracing: Add pluggable context-aware Tracing function. 2021-01-07 11:59:18 -08:00
Aaron Son
a654f02e14 go/cmd/dolt: Add debugging flag to run with Jaeger span reporting to localhost.
This adds a --jaeger flag to dolt CLI which installs a Jaeger Tracer as the
global opentracing Tracer. The Tracer is configured to report to an HTTP
collector running on http://localhost:14268, which is the port that docker
image `jaegertracing/all-in-one` listens on.

Also adds some parameters in places where Dolt constructs sql.Contexts to pass
the correct Tracer through.

Also adds a few new Span points, in things like nbs.Get and
metaSequenceImpl.getChildSequence.
2021-01-06 14:50:06 -08:00
Brian Hendriks
f07170be23 index bug fix (#1139) 2020-12-21 16:30:51 -08:00
Andy Arthur
6fc75f5cfd backed out change completely 2020-12-21 10:17:54 -08:00
Andy Arthur
06e646e3dc send map sizes for legacy diff summary 2020-12-21 10:08:50 -08:00
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