Commit Graph

53 Commits

Author SHA1 Message Date
Zach Musgrave
2f672c0958 NewColCollection no longer returns an error 2021-01-26 17:44:11 -08:00
Zach Musgrave
242edda60b Added a failsafe validation for schemas about to be written to disk. 2021-01-26 16:51:24 -08:00
Taylor Bantle
3fe5cb575e Some cleanup 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
84c3066348 go/**/*.go: Update copyright headers for company name change. 2020-11-02 10:17:02 -08:00
Andy Arthur
2a8c295cd9 auto_increment, pr feedback, fixed batch mode 2020-10-26 09:57:43 -07:00
Andy Arthur
b70f0664cc revert change schema.NewColumn signature 2020-10-26 09:26:09 -07:00
Andy Arthur
38438d3685 added AutoIncrement to schema.Column 2020-10-26 09:26:09 -07:00
Daylon Wilkins
94f8f462a0 Added new indexes overwriting auto-generated indexes 2020-10-15 18:09:00 -07:00
Daylon Wilkins
b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -07:00
Daylon Wilkins
39979b8f5b Moved most commands to use SQL, added CREATE TABLE LIKE, and removed tags from comments. 2020-09-21 03:01:01 -07:00
Daylon Wilkins
3da3c8d037 Added new column defaults 2020-09-02 04:06:17 -07:00
Zach Musgrave
2867cdb593 Fixed import sorting
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-08-07 16:14:02 -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
Andy Arthur
4a877c8986 added unmarshalling work around 2020-07-25 13:55:31 -07:00
Andy Arthur
b8036aad7b removing dead JSON marshalling 2020-07-25 13:55:31 -07:00
Andy Arthur
a6f2267037 removed hidden indexes 2020-07-25 13:55:14 -07:00
Daylon Wilkins
b91178ce7a Foreign Keys groundwork implementation 2020-06-13 21:16:47 -07:00
Daylon Wilkins
4bc87de5b0 Index dolt tests 2020-05-06 11:03:04 -07:00
Daylon Wilkins
d746a6ec6e PR Feedback and test fixes 2020-05-06 11:03:04 -07:00
Daylon Wilkins
fd5a9970d4 Baseline implementation of secondary indexes 2020-05-06 11:03:04 -07:00
Zach Musgrave
6bf5f65dba Use the hard-forked go-mysql-server
Signed-off-by: Zach Musgrave <zach@liquidata.co>
2020-04-30 11:37:00 -07:00
Daylon Wilkins
75fb59d0a0 Implemented DECIMAL, TIME, ENUM, and SET, along with missing type aliases 2020-04-14 15:17:46 -07:00
Andy Arthur
0ba46e8668 code review updates 2020-03-09 12:12:29 -07:00
Andy Arthur
4caa52f734 updating super schema map on checkout, repo fmt 2020-03-09 12:12:29 -07:00
Andy Arthur
476507891d added new super schema 2020-03-09 12:11:36 -07:00
Andy Arthur
34b1960d10 PR feedback 2020-02-27 11:29:46 -08:00
Andy Arthur
a269f49002 added comments and updated readme 2020-02-25 18:14:41 -08:00
Andy Arthur
7db4b36591 repo fmt 2020-02-25 17:56:21 -08:00
Andy Arthur
f2efa593db fixing compatibility issues with serializaiton 2020-02-24 15:47:27 -08:00
Daylon Wilkins
acb3501a91 PR feedback for tests 2020-02-18 13:22:59 -08:00
Daylon Wilkins
c52f790ac1 PR feedback & changes 2020-02-18 13:22:59 -08:00
Daylon Wilkins
beeb5fcb8e Reworked types in Dolt 2020-02-18 13:22:59 -08:00
Daylon Wilkins
072c8d80e0 Removed old table and schema commands from the command line 2020-01-22 17:03:22 -08: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
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
2d74d6df38 dolt/go: First pass at supporting multiple bin formats in dolthub remotes.
NomsBlockStore gets seeded with a version string specifier which gets threaded
through various contexts. If the existing manifest specifies a different
format, then that takes priority.
2019-07-19 16:44:07 -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
Aaron Son
083186e601 dolt/go/libraries/doltcore/schema/encoding: Remove Format_7_18 references. 2019-07-12 10:19:45 -07:00
Aaron Son
644b2be0f2 dolt/go/store: marshal: Remove Format_7_18 references, thread *Format. 2019-07-12 10:17:04 -07:00
Aaron Son
c50f623375 dolt/go/store: types: struct: Thread *Format through EmptyStruct. 2019-07-12 10:12:08 -07:00
Brian Hendriks
de36628918 update paths 2019-06-21 12:06:08 -07:00
Brian Hendriks
6ae6d7e595 move store files to the structure we want 2019-06-21 11:55:01 -07:00
Brian Hendriks
d49955d7bd dbfactory 2019-06-11 14:47:56 -07:00
Aaron Son
5fd9bbd16e libraries/doltcore: Iterate on ctx. 2019-04-26 15:38:58 -07:00
Aaron Son
20126ba9cf go,dolt/go: Update for noms context propagation. 2019-04-26 14:34:06 -07:00
Brian Hendriks
8aa043d4f1 PR feedback 2019-04-17 10:09:42 -07:00