Commit Graph

38 Commits

Author SHA1 Message Date
James Cor
795a81e047 adding index prefix lengths in creation instead of setting 2022-11-10 12:37:02 -08:00
zachmu
0093a168ec [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-11-02 23:06:03 +00:00
Zach Musgrave
d8c7311c75 Unexport vars 2022-11-02 14:59:48 -07:00
Zach Musgrave
b93ff832ec Bug fix 2022-11-02 14:53:50 -07:00
Zach Musgrave
19cccb888b Bug fix, removed some unused methods 2022-11-02 14:50:37 -07:00
Zach Musgrave
d6e24c5fc5 Remove init() method from dtestutils 2022-11-02 14:42:30 -07:00
Zach Musgrave
d35aa9224c Remove testify dependency from exported methods in dtestutils/data.go 2022-11-01 16:30:00 -07:00
Zach Musgrave
b8f2ece723 More SQL type changes 2022-05-11 17:22:13 -07:00
Zach Musgrave
ab793216b3 Fixed more SQL types 2022-05-11 17:14:07 -07:00
Jason Fulghum
53d18f895d Bug fix for dropped table check constraints when altering a table.
Resolves: https://github.com/dolthub/dolt/issues/2672

Confirmed that tests now cover all schema properties.
2022-01-26 16:09:38 -08:00
Andy Arthur
4451ee3183 replace types.Format_7_18 with types.Format_Default throughout /go/libraries/doltcore 2021-03-31 14:28:34 -07:00
Zach Musgrave
2f672c0958 NewColCollection no longer returns an error 2021-01-26 17:44:11 -08:00
Andy Arthur
b0d836781b setup integration tests 2020-12-17 19:33:08 -08:00
Andy Arthur
99f86dc434 keyless reader 2020-12-16 09:27:50 -08:00
Andy Arthur
518cd1e8e2 split TableEditors and IndexEditor to their own package 2020-12-08 07:31:15 -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
Daylon Wilkins
b5bb663233 Reference new org name and updated trigger logic 2020-09-25 15:35:04 -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
Andy Arthur
ed7c10d760 PR feedback, auto rebasing for merge 2020-03-23 23:50:37 -07:00
Andy Arthur
f56db93c92 added unique tags tests, reorganized envtestutils 2020-03-10 13:55:16 -07:00
Andy Arthur
8bddfddd7b updated unittests 2019-11-18 08:52:36 -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
1f6241f7dc dolt/go/libraries/doltcore/row: Thread Format() through Row. 2019-07-12 10:23:45 -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
Zach Musgrave
3c9af00487 Initial implementation of SQL export, still missing a drop / create table statement. Also changed SQL schema output to quote the table name, and removed an unused error return param. 2019-06-14 10:17:16 -07:00
Zach Musgrave
1d2d09a5fc Alter table drop column mostly working, test setup needs fixing. Got rid of actions/schema.go, moved all functionality into alterschema package. Still need smoke tests for sql alter commands. 2019-06-10 15:32:05 -07:00
Zach Musgrave
08ba3c645d PR feedback. Refactored large AddColumnToSchema method and caught a couple bugs in the process. 2019-06-10 12:41:54 -07:00
Zach Musgrave
4d2e11435c Working default values for alter table add column statements. 2019-06-06 14:49:57 -07:00
Zach Musgrave
b95e3de3a0 Lots of more tests of AddColumnToSchema, and fixed a bug with type checking 2019-06-06 14:47:06 -07:00
Zach Musgrave
c5b1d8f151 Refactored AddColumnToSchema into doltcore, and wrote tests for it (more to write). Also moved dtestutils from the dolt directory to the doltcore directory, and moved a few SQL test util funcs into it. 2019-06-06 14:47:06 -07:00