Commit Graph

25496 Commits

Author SHA1 Message Date
Jason Fulghum
eccaa4f56b Changing to persist a root superuser that gets created on first launch of sql-server when there are no existing privileges. 2025-01-14 17:50:13 -08:00
Jason Fulghum
cabf880711 Merge pull request #8746 from dolthub/fulghum/sql_shell_root_access
Allow `dolt sql` to always log in as the `root` superuser
2025-01-14 15:53:12 -08:00
Neil Macneale IV
de95062d6f Add --prune option to dolt_pull procedure (#8745)
Expose in CLI and test too.
2025-01-14 15:43:41 -08:00
Zach Musgrave
6392c11653 Merge pull request #8743 from dolthub/zachmu/fix-yaml-bug
[no-release-notes] Cleaning up a couple issues in yaml config missed during review
2025-01-14 14:04:34 -08:00
Jason Fulghum
17c65a7d20 Allow dolt sql command line access to always log in as the root superuser account, even if the root account was assigned a password 2025-01-14 13:31:09 -08:00
Zach Musgrave
e43c01cb45 Fixed test data 2025-01-14 12:17:24 -08:00
Dustin Brown
99c7cca101 Merge pull request #8740 from dolthub/db/parallelize
/go/libraries/doltcore/sql/dsess: parallelize sql.NewDatabase work
2025-01-14 12:07:03 -08:00
Zach Musgrave
a6c9e8b458 Merge upstream 2025-01-14 11:38:14 -08:00
Zach Musgrave
61f6ce34e0 Fix minver issues 2025-01-14 11:37:29 -08:00
coffeegoddd
93355c512b /go/libraries/doltcore/sqle/dsess/globalstate.go: pr feedback 2025-01-14 11:32:32 -08:00
zachmu
514486812c [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-01-14 19:03:32 +00:00
Zach Musgrave
489e08b77a Tweaked a few settings to get the default output behavior we want 2025-01-14 10:54:26 -08:00
coffeegoddd
a819aa2c0d /go/libraries/doltcore/sqle/dsess/globalstate.go: fix again 2025-01-14 10:52:49 -08:00
Neil Macneale IV
d05b6a835c Don't panic when attempting to update workspace table (#8742)
Schema changes are hard.
2025-01-14 10:42:36 -08:00
coffeegoddd
8c1eda8ccd /go/libraries/doltcore/sqle/dsess/globalstate.go: trying to fix closed channel send error 2025-01-14 10:39:43 -08:00
coffeegoddd
ddecc470e1 /go/libraries/doltcore/sqle/dsess/globalstate.go: check for ctx error 2025-01-14 10:29:19 -08:00
coffeegoddd
bff342afe5 /go/libraries/doltcore/sqle/dsess: remove logs 2025-01-14 10:20:26 -08:00
coffeegoddd
4035348eab /go/libraries/doltcore/sqle/dsess/globalstate.go: parallelize global state also 2025-01-14 10:10:57 -08:00
coffeegoddd
53ba7ca521 temp: add some timing logs 2025-01-14 09:33:34 -08:00
coffeegoddd
1514be7f7d [ga-bump-release] Update Dolt version to 1.45.6 and release v1.45.6 v1.45.6 2025-01-14 16:46:48 +00:00
Zach Musgrave
7d54ed2a25 Cleaning up a couple issues missed during review 2025-01-13 18:13:31 -08:00
coffeegoddd
fa6c12f249 /go/libraries/doltcore/sqle/dsess/globalstate.go: try just changing ai 2025-01-13 17:37:26 -08:00
coffeegoddd
eb23dcd260 /go/libraries/doltcore/sqle/dsess/autoincrement_tracker.go: wip, nil prob 2025-01-13 17:33:18 -08:00
coffeegoddd
d869c70c26 /go/libraries/doltcore/sqle/dsess: parallelize new sqle db stuff 2025-01-13 17:07:03 -08:00
Neil Macneale IV
581c2f9a4d Merge pull request #8730 from dolthub/macneale4/show-bandaid
Make show command more resilient when resolving references
2025-01-12 17:14:14 -08:00
Neil Macneale IV
6016c4aac1 PR Feedback 2025-01-12 16:36:40 -08:00
Dustin Brown
8ca3bacc54 [ga-bump-dep] Bump dependency in Dolt by jycor (#8731)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-01-10 14:36:52 -08:00
Neil Macneale IV
c6cd6b441b Handle WORKING and STAGED as --no-pretty options 2025-01-10 14:13:08 -08:00
Neil Macneale IV
d4b2722626 Update go/cmd/dolt/commands/show.go 2025-01-10 11:17:49 -08:00
Neil Macneale IV
78d7d1492d Make show command more resilient when resolving references
Currently the show command can print internal object, which requires a local environment.
This goes against the sql migration expectations that there is no environment. This change
only makes the situation less bad. Splitting out the admin operations into another command
is the right approach.
2025-01-10 11:12:11 -08:00
Zach Musgrave
53a9c9aa2f Merge pull request #8644 from milogreg/config-file-gen
Generate config.yaml when running sql-server
2025-01-10 09:10:03 -08:00
Neil Macneale IV
0cbfe0e7a2 Merge pull request #8719 from Juneezee/refactor/minmax
Replace min/max helpers with built-in min/max
2025-01-09 10:55:47 -08:00
coffeegoddd
80ad9a2e9b [ga-bump-release] Update Dolt version to 1.45.5 and release v1.45.5 v1.45.5 2025-01-09 18:07:30 +00:00
Neil Macneale IV
6ab66816c0 More information about types in int conversions (#8725) 2025-01-09 09:33:16 -08:00
coffeegoddd
05ce06ead0 [ga-bump-release] Update Dolt version to 1.45.4 and release v1.45.4 v1.45.4 2025-01-09 05:20:01 +00:00
Nick Tobey
b28cb54304 Merge pull request #8723 from dolthub/nicktobey/json-big
If a JSON document contains strings that can't fit in a single chunk, use the naive Blob chunker instead of the smart JSON chunker.
2025-01-08 20:46:19 -08:00
Nick Tobey
5429156f1d Update indexed document test. 2025-01-08 20:13:04 -08:00
Nick Tobey
94bcde030e Revert change to compatibility test. 2025-01-08 20:01:34 -08:00
Nick Tobey
fb31064672 Unskip dolt query test. 2025-01-08 19:36:24 -08:00
Nick Tobey
c984466baa Fix flipped sign in JsonCursor::NextValue 2025-01-08 17:35:44 -08:00
Nick Tobey
bb3d2f3413 When encountering a jsonParseError when working with JSON, it's most likely a bug in handling JSON metadata. Emit a warning, then continue, treating the document as a blob and ignoring JSON metadata. 2025-01-08 17:25:54 -08:00
Nick Tobey
077e4850a4 Prevent an infinite loop when reading a JSON chunk that ends in the middle of a string. 2025-01-08 17:25:53 -08:00
nicktobey
83169aac4b [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-01-09 01:19:34 +00:00
Nick Tobey
82916cdbe6 Remove backwards compatibility tests. If we're emitting blobs, we know that older versions can read them. 2025-01-08 17:09:11 -08:00
Nick Tobey
64878f908f When encountering largeJsonStringError, fall back on inserting JSON document as a non-indexed BLOB 2025-01-08 16:59:44 -08:00
Nick Tobey
3267faafd2 Disable chunk boundaries inside JSON string values, and emit largeJsonStringError for both keys and values in JSON. 2025-01-08 16:58:48 -08:00
Nick Tobey
ad271f8252 Detect and emit unknownLocationKeyError to more places. 2025-01-08 16:57:34 -08:00
Nick Tobey
04af9a689b Update maxJsonKeyLength to keep chunks below 48KB 2025-01-08 16:40:36 -08:00
Nick Tobey
83d858955d Detect when a json key is too large to chunk and don't use smart JSON chunking. 2025-01-08 16:40:36 -08:00
Nick Tobey
9d29928bc7 In JSON chunker, allow chunking in the middle of large strings, and add a new location type representing the inside of a string. 2025-01-08 16:40:36 -08:00