Commit Graph

73 Commits

Author SHA1 Message Date
Andy Arthur e72052eadf go/doltcore/rowconv: cleaup pkg rowconv 2022-10-17 10:23:54 -07:00
Andy Arthur 75241c0fbb remote schema.CollCollection.GetAtIndex() in favor of GetByIndex 2022-10-14 11:33:06 -07:00
Dhruv Sringari 9758e697c8 Allows diff to be performed across primary key renames (#4156)
* allow diff across pk renames

* pr comments
2022-08-22 14:58:55 -07:00
Dhruv Sringari 1c0e7679d7 Adds our_diff_type and their_diff_type to dolt_conflicts_table_name (#3748)
* add our_diff_type and their_diff_type to dolt_conflicts_table_name

* pr comments

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-05 12:11:23 -07:00
Dhruv Sringari c52a258f83 change dolt_diff system table to coerce schema by name only (#3535)
* unskip TestDiffSystemTable and TestCommitDiffSystem table

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-06-03 14:37:12 -07:00
fulghum 73a3ed141d [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-02-18 23:51:27 +00:00
Jason Fulghum 43d22c740f Refactoring RowConvertor.Convert to work with an optional WarnFunction callback function, instead of passing around optional context. 2022-02-18 15:48:10 -08:00
Jason Fulghum 7b5ea7bbe6 Changed DoltDiffTable to stop disambiguating column names with tag suffixes when they conflict and instead restrict output schema to be based on current table schema. 2022-02-17 17:26:24 -08:00
Jason Fulghum c4468e77dc Adding a check to proactively detect any field mappings that could cause a race condition by trying to map multiple input fields to the same output field. 2022-02-17 08:44:47 -08:00
Daylon Wilkins 53d5bd77d9 Removed Parse from typeinfo, some type conversion fixes 2022-01-24 15:40:35 -08:00
Vinai Rachakonda 27e0a4bdc4 Export method needed for dolthub fix (#2438) 2021-11-30 12:09:22 -08:00
Vinai Rachakonda 791a128fa3 Move Import Write Path to Engine (#2426) 2021-11-26 18:42:26 -05:00
Brian Hendriks d47096bb0b Import fix to not put NullValue into types.Tuples for map values (#2143) 2021-09-16 13:23:38 -07:00
Lars Lehtonen fc26698002 libraries/doltcore/rowconv: replace assert.NoError with require.NoError 2021-04-01 00:36:41 -07:00
Lars Lehtonen ddaeaf1be2 libraries/doltcore/rowconv: fix dropped errors 2021-04-01 00:34:18 -07:00
Zach Musgrave 2f672c0958 NewColCollection no longer returns an error 2021-01-26 17:44:11 -08:00
Daylon Wilkins 7aa024554c Added binary types to dolt 2021-01-13 05:17:24 -08:00
Andy Arthur e31a5994d1 remove row access methods from doltdb.Table 2020-12-09 16:35:27 -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 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 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
Andy Arthur 8d9b4f31ae table import tests 2020-05-27 10:08:51 -05:00
Andy Arthur fa5fa2a441 cleanup 2020-05-18 08:58:13 -05:00
Andy Arthur 0b0a2e941c fixing bats errors 2020-05-18 08:36:18 -05:00
Andy Arthur 5ab9933260 refactored 2020-05-15 18:27:24 -07:00
Andy Arthur 18e6bcaad8 repo fmt and table name check 2020-05-05 19:59:58 -07:00
Andy Arthur 4e12c58cc0 updated BATS 2020-05-05 10:27:53 -07:00
Andy Arthur ffd0c09579 changed data movement 2020-05-05 10:01:43 -07:00
Daylon Wilkins 75fb59d0a0 Implemented DECIMAL, TIME, ENUM, and SET, along with missing type aliases 2020-04-14 15:17:46 -07:00
Daylon Wilkins d974ca443f Changed import behavior for boolean-like types and disabled null values in json imports into non-nullable columns 2020-04-06 13:46:12 -07:00
Andy Arthur 476507891d added new super schema 2020-03-09 12:11:36 -07:00
Daylon Wilkins 329fd907ac PR feedback Pt 2 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
Brian Hendriks 6afa693153 Bh/schema import update (#350) 2020-02-05 11:03:53 -08:00
Brian Hendriks 18037a9359 fixes casing issue with system tables (#287) 2020-01-10 10:51:06 -08:00
Brian Hendriks 0fa704e772 slow history tables
* change super_schema to use a CommitItr
* slow history tables
2019-12-16 14:46:00 -08:00
Brian Hendriks 549e8ea54f improved super schema names (#221) 2019-11-21 15:09:05 -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
Daylon Wilkins f4f2a8c010 Added Timestamp to Dolt and Datetime to SQL 2019-11-07 12:40:18 -08:00
Brian Hendriks e188794ce7 diff where and limit 2019-11-06 11:53:03 -08:00
Daylon Wilkins 146dbf1104 Types package simplification for easier type insertion 2019-10-31 16:00:38 -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