Commit Graph

11837 Commits

Author SHA1 Message Date
Dhruv Sringari
aee1ca2dd2 delete nbs index cache 2022-03-29 11:15:30 -07:00
Dhruv Sringari
69c8021920 Push ReleaseQuota down into onHeapTableIndex Close() 2022-03-28 16:06:33 -07:00
Dhruv Sringari
19e042fe48 fix copyright 2022-03-24 12:48:37 -07:00
Dhruv Sringari
2e38b25dbc thread memory quota provider through tableSet 2022-03-24 12:27:41 -07:00
Jason Fulghum
47e3c7d66d Merge pull request #2913 from dolthub/fulghum/table-function-support
dolt_diff system table function support
2022-03-22 13:57:00 -07:00
James Cor
eb508d3076 Merge pull request #3052 from dolthub/JCOR11599-c3002bdd
[auto-bump] [no-release-notes] dependency by JCOR11599
2022-03-22 13:41:02 -07:00
Zach Musgrave
5f463eb01b Merge pull request #3055 from dolthub/zachmu/index-bugs
Bug fix for connecting to a particular commit hash in a read replica
2022-03-22 14:15:12 -05:00
Zach Musgrave
b269ce539b Tests of connecting to remote heads 2022-03-22 12:07:18 -07:00
James Cor
8dcdbd723c adding tests 2022-03-22 10:14:25 -07:00
James Cor
27d5a541cf changing to use strings and unicode 2022-03-22 10:10:30 -07:00
jennifersp
781e5e19dd unskip bats test for create database ... character set ... (#3036) 2022-03-22 09:57:09 -07:00
Maximilian Hoffman
2049664ff9 Simplify RebuildIndex (#3053)
* Simplify RebuildIndex

Two improvements with index rewriting:

1) Brian's `TupleFactory` optimizations were being skipped, and 70% of
the runtime was spent building `newBinaryNomsWriter` instances for tuple
construction. Removing this restores index inserts as the only memory
pressure.

2) Brian's `BulkEditAccumulator` lets the final Map sort skip
work materializing intermediate prolly trees.

On a 2000 row table, fix (1) reduces the runtime by 50% (80ms -> 40ms),
and fix (2) reduces the runtime by another 40% (40ms -> 10ms)%, for a
cumulative ~90% improvement.

* fixes
2022-03-22 07:07:45 -07:00
Jason Fulghum
5c1e8168de Reordering imports 2022-03-21 20:50:06 -07:00
Jason Fulghum
9c01a0a8d3 Reordering imports 2022-03-21 17:55:47 -07:00
James Cor
e450da8b53 adsfasdfasdg 2022-03-21 17:14:29 -07:00
James Cor
506f4a02a4 fixing even more tests 2022-03-21 16:59:55 -07:00
Zach Musgrave
fe72ed517e Merge branch 'zachmu/index-bugs' of github.com:dolthub/dolt into zachmu/index-bugs 2022-03-21 16:51:10 -07:00
Zach Musgrave
9360485c85 Added test for using a hash DB ref in a read replica setup 2022-03-21 16:51:04 -07:00
James Cor
bd0a407560 more tests fixed 2022-03-21 16:17:13 -07:00
Dhruv Sringari
75df8339d4 Merge pull request #3041 from dolthub/ephemeral2
go/cmd/dolt: Fix fetch printing newline for each progress update on Windows
2022-03-21 16:10:21 -07:00
Zach Musgrave
9c19de7f20 Fixed racy test: wait for the server to stop after being killed when we have async pushes turned on 2022-03-21 16:05:21 -07:00
James Cor
8bcd208c5c update regex and tests 2022-03-21 16:03:04 -07:00
Jason Fulghum
ef1187e7d0 Restricting arguments to literal expressions only 2022-03-21 15:55:00 -07:00
Dustin Brown
94f8780670 Merge pull request #3054 from dolthub/db/bump-go
/{.github,go}: require go 1.18
2022-03-21 15:51:08 -07:00
Jason Fulghum
063c7f79ed Removing cached evaluated expression values 2022-03-21 15:27:06 -07:00
zachmu
fe9d7d4149 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-03-21 22:23:26 +00:00
Zach Musgrave
efac61c263 Pulled out a HasBranch method 2022-03-21 15:11:17 -07:00
Zach Musgrave
e7c3bccf88 Removed unused param from FetchRemoteBranch, added method doc 2022-03-21 14:46:45 -07:00
Jason Fulghum
b72090abf8 Minor code cleanup, additional test cases, and updated comments/todos from code review feedback. 2022-03-21 14:31:57 -07:00
Zach Musgrave
3d1fd2b236 Bug fix for commit-locked databases with replication 2022-03-21 14:29:25 -07:00
Dustin Brown
bb25ce9d6f /{.github,go}: require go 1.18 2022-03-21 14:02:06 -07:00
JCOR11599
6e32b62d6d [ga-bump-dep] Bump dependency in Dolt by JCOR11599 2022-03-21 20:07:42 +00:00
Zach Musgrave
6f7a48379c Merge pull request #3042 from dolthub/zachmu/index-bugs
Fixed two bugs in foreign key creation
2022-03-21 14:55:24 -05:00
Dustin Brown
7b46688942 Merge pull request #3050 from dolthub/db/bump-go
[no-release-notes] /.github/workflows: bump go in CI
2022-03-21 12:12:47 -07:00
Dustin Brown
63789fd9f9 /.github/workflows: bump go in CI 2022-03-21 12:07:14 -07:00
Dhruv Sringari
92ff37be45 Pr feedback, add comments 2022-03-21 11:51:16 -07:00
Zach Musgrave
0fe92461e5 Fixed missing error, removed unnecessary env var from bats tests 2022-03-21 10:45:06 -07:00
Zach Musgrave
9aa656a3df Fixed tests 2022-03-21 10:12:07 -07:00
Zach Musgrave
a3c9d91116 Bats test for foreign keys onto a compound primary key 2022-03-18 17:29:50 -07:00
Zach Musgrave
e0f60063d3 Fixed bug in automatic index creation on referenced table during foreign key creation. Two bugs: the index was being incorrectly created as unique in some cases; and index was being incorrectly permitted when it wasn't a prefix of the key. 2022-03-18 17:19:59 -07:00
Zach Musgrave
f5dda58b2e Bats test for fixed bug 2022-03-18 16:48:36 -07:00
Zach Musgrave
f43697d9b4 Fixed bug in index type checking. Was validating every column in the table, rather than just the ones being used to create an index. 2022-03-18 16:14:12 -07:00
Dhruv Sringari
7d1d3dd01b better flush control 2022-03-18 15:31:16 -07:00
Dhruv Sringari
60985ff6b1 Fix windows not printing properly
Fix --stdout


fix
2022-03-18 15:00:44 -07:00
Aaron Son
58bc41ce7a Merge pull request #3038 from dolthub/aaron/github-protobuf-to-golang-protobuf
go.mod,proto/third_party: Bump protobuf dependencies to migrate from github.com/golang/protobuf to google.golang.org/protobuf.
2022-03-18 14:25:32 -07:00
Aaron Son
89e35d3b22 Merge pull request #3031 from dolthub/aaron/doltdb-commitst-to-value
[no-release-notes] go/{store/datas,doltdb}: Further decouple commit usage from types.Struct.
2022-03-18 13:30:48 -07:00
Aaron Son
f9e8f1fada go.mod,proto/third_party: Bump protobuf dependencies to migrate from github.com/golang/protobuf to google.golang.org/protobuf. 2022-03-18 13:06:19 -07:00
AndyA
7291433c2d Merge pull request #3035 from dolthub/andy/db-revision-tests
go/libraries/sqle: Added integration tests for "Database Revisions", simplified DoltDatabseProvider
2022-03-18 12:55:48 -07:00
jennifersp
b837fc98de Merge pull request #3034 from dolthub/jennifersp-93a6edd8
[auto-bump] [no-release-notes] dependency by jennifersp
2022-03-18 12:22:06 -07:00
andrew-wm-arthur
26fa9ac3f2 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-03-18 18:56:19 +00:00