Commit Graph

12880 Commits

Author SHA1 Message Date
Andy Arthur 8028059ac7 pr feedback 2022-05-26 09:36:57 -07:00
Andy Arthur 8e45698e3d Merge remote-tracking branch 'origin/main' into andy/prolly-decimal-encoding 2022-05-25 13:56:15 -07:00
AndyA a55ec2b016 Merge pull request #3479 from dolthub/andy/prolly-encodings
[no-release-notes] New format encodings for `Year`, `Date` and `Time`
2022-05-25 13:26:39 -07:00
Maximilian Hoffman c1a81a601f fix tildes (#3483)
* fix tildes

* gen tilde escapes
2022-05-25 12:39:12 -07:00
Andy Arthur 9ee8773b83 added encoding for decimal.Decimal 2022-05-25 12:29:12 -07:00
Zach Musgrave 8f1c3ed5e9 Merge pull request #3466 from dolthub/zachmu/ddl3
Support for adding / dropping primary keys on new storage format
2022-05-25 12:25:48 -07:00
Andy Arthur 03972c9e4c fix prolly_fields_test 2022-05-25 12:18:20 -07:00
Andy Arthur 3e08aa3ec5 fix datetime test 2022-05-25 11:07:14 -07:00
Zach Musgrave d671c177f5 Fixed bug adding primary key, not null constraint wasn't getting applied in some cases 2022-05-25 11:01:06 -07:00
Zach Musgrave 8261633fa3 Unskip test 2022-05-25 11:00:21 -07:00
Andy Arthur 1908ab04b7 store datetime as microseconds to support full value domain 2022-05-25 10:09:46 -07:00
Maximilian Hoffman 93945d94d3 Log and diff tables use topo sorted iterator (#3480)
* Topologically sort commit traversal

* docstring

* aaron's comments

* delete old
2022-05-25 09:59:21 -07:00
Zach Musgrave 142e21c410 Skipping broken bats test for DOLT_DEV 2022-05-24 16:29:21 -07:00
Andy Arthur b1203d02d5 fix prolly_fields_test 2022-05-24 16:18:32 -07:00
Andy Arthur c878a26694 added new encoding for Time 2022-05-24 16:14:15 -07:00
Andy Arthur 2e7a81437b added new encodings for year and date 2022-05-24 15:49:36 -07:00
Zach Musgrave be5a593866 Actually upgrade gms 2022-05-24 15:04:28 -07:00
Zach Musgrave 21242baa57 Upgraded gms 2022-05-24 14:58:21 -07:00
Zach Musgrave 58b2ba2c14 Merge branch 'main' into zachmu/ddl3 2022-05-24 14:57:47 -07:00
zachmu 72b67b575a [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-05-24 21:41:24 +00:00
Zach Musgrave d46920ef37 Fixed bug in table rewrites during primary key change: always flush new working set to disk even if we didn't write any rows. This matters when we've rewritten a table with no rows, but still need to persist the schema change. 2022-05-24 14:39:35 -07:00
James Cor 32e8866e0d Merge pull request #3411 from dolthub/james/mysql
mysql db
2022-05-24 14:10:16 -07:00
Zach Musgrave 4f822170ef Change the order of operations on insert: first primary index, then secondaries 2022-05-24 14:04:48 -07:00
James Cor 1b0ee15210 manual auto-bump 2022-05-24 13:24:44 -07:00
JCOR11599 388ae91c2f [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-05-24 19:30:55 +00:00
James Cor a6f70d46d1 no more grants please 2022-05-24 12:29:24 -07:00
James Cor 6bdad0c2e2 go get 2022-05-24 12:26:15 -07:00
James Cor 247eb019d6 Merge branch 'main' into james/mysql 2022-05-24 12:22:04 -07:00
James Cor 64c2c6377a forgot new user 2022-05-24 12:21:19 -07:00
Maximilian Hoffman a22adf4d33 [no-release-notes] old harness refactors (#3474)
* [no-release-notes] refactor harness setup

* remove local GMS

* fix unscoped diff table panic

* try to make NewEngine look respectable
2022-05-24 11:59:40 -07:00
James Cor 71091105ae Merge branch 'james/mysql' of https://github.com/dolthub/dolt into james/mysql 2022-05-24 11:51:46 -07:00
Zach Musgrave 76ea2f1885 Fix tests to make them actually drain iterators 2022-05-24 11:49:59 -07:00
James Cor 92fbb02b03 adding restart for persistence, and skipping all for windows 2022-05-24 11:49:00 -07:00
Zach Musgrave 7c21057d9d Fixed test with new error 2022-05-24 11:06:05 -07:00
Zach Musgrave f1f93c19d0 Removing a debug print message, fixing noms show output 2022-05-24 11:01:05 -07:00
JCOR11599 532d0d0945 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-05-24 17:26:45 +00:00
James Cor ffa6ac9df3 feedback + testing if unskippable on windows 2022-05-24 10:25:00 -07:00
Zach Musgrave da6169b173 Removed debug print statements 2022-05-24 10:10:29 -07:00
James Cor e5c15a2933 Merge branch 'main' into james/mysql 2022-05-24 10:07:50 -07:00
Zach Musgrave bf350af9cc Merge main 2022-05-24 10:04:08 -07:00
Andy Arthur 3263672122 refactored tuple desc construction 2022-05-24 09:37:00 -07:00
AndyA 14e54ed631 Merge pull request #3475 from dolthub/andy/value-store-validation
[no-release-notes] Fix chunk corruption for keyless tables
2022-05-23 16:45:56 -07:00
Andy Arthur f848a963a1 fix chunker overwrite for keyless tables, add valuestore validate to enginetests 2022-05-23 15:51:29 -07:00
Andy Arthur b16182bb9a added hash validation to NewTestNodeStore 2022-05-23 15:27:27 -07:00
Maximilian Hoffman 4a994d31c6 Read replica update working set fixes (#3471)
* Read replica update working set fixes

Read replica pull updates the session working set after pulling a
filtered set of branches from the tracking database. The original
(buggy) implementation updates the working set to the branch specified
at server-start time. The identity of that branch was fixed for the
duration of the server, so dolt_checkout would (appear to) have no
effect on the new branch's working set. What actually happened was more
pernicious: the working set was updated to the value of the
incorrect branch.

The fix no longer statically sets the active branch for a read replica
database. The active branch is pulled from the `*sql.Context`, so the
correct working set will be updated.

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

* add test

* todos

* delete extraeneous line

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-05-23 15:00:11 -07:00
Andy Arthur d7f477656e added value store validation 2022-05-23 14:53:46 -07:00
James Cor 8ec24e92f4 renaming privileges 2022-05-23 14:52:17 -07:00
James Cor 6dbd84ddf7 run cat 2022-05-23 14:44:48 -07:00
James Cor c9ff614995 i need a space????? 2022-05-23 14:35:47 -07:00
James Cor 53b7ea6c1a ??? 2022-05-23 14:27:17 -07:00