Commit Graph

3819 Commits

Author SHA1 Message Date
Brian Hendriks 133af01494 Use map.IterRange for iterating over rows (#1192) 2021-01-07 15:49:29 -08:00
Brian Hendriks 0873fb6643 fix compilation 2021-01-07 13:31:57 -08:00
Oscar Batori 6522dd0e47 Merge branch 'master' into v0.22.8-release 2021-01-07 12:30:59 -08:00
Aaron Son 12014679d3 go.mod: Bump go-mysql-server. 2021-01-07 12:02:34 -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 a1bf8b62fd repofmt: Hygiene. 2021-01-06 15:02:24 -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 dd3f31929f optimizations (#1145) 2021-01-06 13:05:07 -08:00
Zach Musgrave 525d55ba46 Merge pull request #1170 from dolthub/zachmu/upgrade-gms-release
Updating to latest go-mysql-server
2021-01-04 15:24:21 -08:00
Vinai Rachakonda b171ddb55e Address escaping in longtext/json for json and csv export (#1157)
This pr addresses the linked of issue of fault exporting of json like data with prettyPrint. The solution on the csv end was opening the csv writer to the pretty print pipeline.
2021-01-04 18:18:40 -05:00
Zach Musgrave 00021eadb4 Updating to latest go-mysql-server
Signed-off-by: Zach Musgrave <zach@dolthub.com>
2021-01-04 11:08:04 -08:00
Andy Arthur 641633f075 no primary key index for keyless tables 2021-01-04 10:02:53 -08:00
Brian Hendriks 8ffd0f95b3 unrolled decode varint decode loop (#1162)
* unrolled decode varint decode loop
* better distribution of test values
2020-12-31 23:24:30 -08:00
Vinai Rachakonda 16911668b3 Implement dolt status table (#1151)
This pr implements the Dolt Status Table. It is a system that enable a user in sql to determined the set of working and staged changes. It is created on demand.
2020-12-31 22:15:38 -05:00
Brian Hendriks 7472d64dda Bh/hang fix (#1159)
* fixes pipeline hang
* remove GC from Close
2020-12-29 15:39:16 -08:00
Daylon Wilkins 84e20f5fe7 Implemented INSERT ON DUPLICATE KEY UPDATE & Fixed UPDATE 2020-12-28 14:37:18 -08:00
Vinai Rachakonda 601c3e8f12 DOLT_ADD SQL Implementation (#1129)
This pr adds the DOLT_ADD to the SQL cli. It current models the behavior of `dolt add.`
2020-12-26 16:54:40 -05:00
Vinai Rachakonda 4b4a229af7 Fix hanging on duplicate rows within large csvs (#1140)
This pr address the bug found in this error: https://github.com/dolthub/dolt/issues/986 It also corrects stats when --continue is passed.
2020-12-26 11:44:01 -05:00
Andy Arthur 79b10ffd87 pr feedback 2020-12-23 17:27:55 -08:00
Andy Arthur 14cc74e194 repofmt 2020-12-23 15:15:11 -08:00
Andy Arthur f3052eec10 move table cache to DoltSession, purge on root change 2020-12-23 15:13:20 -08:00
Oscar Batori aec7a4290d Merge pull request #1118 from dolthub/release
Updated version for release of version 0.22.7
2020-12-22 11:59:35 -08:00
dolt-release-bot 85e57f40b1 Updated version for release of version 0.22.8 2020-12-22 00:35:00 +00:00
Oscar Batori 18d2d2c812 Merge pull request #1142 from dolthub/oscarbatori/dolt-release-automation
make script executable
2020-12-21 16:34:29 -08:00
Oscar Batori 07a3e7855b make script executable 2020-12-21 16:32:30 -08:00
Brian Hendriks f07170be23 index bug fix (#1139) 2020-12-21 16:30:51 -08:00
Oscar Batori bddb90b999 Merge pull request #1132 from dolthub/oscarbatori/dolt-release-automation
Added release automation for Dolt
2020-12-21 16:29:46 -08:00
AndyA 457532f55c Merge pull request #1134 from dolthub/andy/ungate-keyless-tables
Andy/ungate keyless tables
2020-12-21 16:21:10 -08:00
AndyA 221b8d1f06 Merge pull request #1141 from dolthub/andy/uncomment-debug
uncomment platform specific code
2020-12-21 16:11:57 -08:00
Andy Arthur 29a332eb1b pr feedback 2020-12-21 15:57:12 -08:00
Andy Arthur 6dbe7dd1c4 remove tests that error on no-pk 2020-12-21 15:57:12 -08:00
Andy Arthur 9bd296c195 feature gate indexes and foreign keys 2020-12-21 15:57:12 -08:00
Andy Arthur a4ea25ecc1 feature gate add/drop column 2020-12-21 15:57:12 -08:00
Andy Arthur f32eb24127 turn on keyless tables feature flag 2020-12-21 15:56:19 -08:00
AndyA 9aa611738c Merge pull request #1133 from dolthub/andy/keyless-import-export
Andy/keyless import/export
2020-12-21 15:54:53 -08:00
Andy Arthur 91080cbcb2 uncomment platform specific code 2020-12-21 15:33:40 -08:00
AndyA 14cc035e2c Merge pull request #1130 from dolthub/andy/keyless-tables-merge
Andy/keyless tables merge
2020-12-21 13:41:43 -08:00
AndyA 9da9f5ff62 Merge pull request #1136 from dolthub/andy/diff-summary-fix
send map sizes for legacy diff summary
2020-12-21 10:48:02 -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
Daylon Wilkins d7499cc789 Added TRUNCATE and removed old optimized DELETE path 2020-12-21 07:04:11 -08:00
Andy Arthur 21b36eac15 repofmt 2020-12-20 23:38:30 -08:00
Andy Arthur 54d7f85301 don't hash types.Null 2020-12-20 23:07:57 -08:00
Andy Arthur 2103234b9a remove type reflection test 2020-12-20 20:08:32 -08:00
Andy Arthur 2f3669cd8a support keyless table export 2020-12-20 15:24:31 -08:00
Andy Arthur 93ce298f9f keyless import/export 2020-12-20 15:01:18 -08:00
Andy Arthur 2d8496c1c2 implemented keylessRowFromTaggedValues 2020-12-20 15:01:06 -08:00
Oscar Batori f8aa6c8959 Added release automation for Dolt 2020-12-20 12:16:13 -08:00
Andy Arthur 767062f38e forker merge logic, added tests 2020-12-19 19:42:02 -08:00
Andy Arthur f764078441 update conflict resolution 2020-12-18 12:07:12 -08:00