Commit Graph

2908 Commits

Author SHA1 Message Date
Daylon Wilkins ee736b0cbc Optimize full-text to selectively rebuild 2024-03-14 04:16:53 -07:00
Maximilian Hoffman 1eab16f02c schema validator impl (#7544)
* Database implements sql.SchemaValidator

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

* fix bats

* bump

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2024-02-27 18:11:37 -08:00
Dustin Brown 41714c2ab5 [auto-bump] [no-release-notes] dependency by nicktobey (#7543)
* [ga-bump-dep] Bump dependency in Dolt by nicktobey

* Update bats tests.

---------

Co-authored-by: nicktobey <nick@dolthub.com>
2024-02-27 17:08:17 -08:00
Maximilian Hoffman 6f61ac5a08 [store] row length guards for prolly serial messages (#7533)
* Add row length guards

* tidy

* bump

* more check to integrator

* default panic

* comments

* bump

* better names

* more edits

* merge main

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

* smaller default noms string type

* bats tests valid row lengths

* more tests

* more row len tests

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

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2024-02-26 17:46:59 -08:00
Nick Tobey fec4bb4275 Allow importing tables when the columns contain characters that require escaping. 2024-02-23 15:21:15 -08:00
Neil Macneale IV 139c49ff9d Merge pull request #7486 from dolthub/macneale4/shallow-clone
Shallow Clone Support Added

These changes add the "--depth n" option to the clone command and the dolt_clone stored procedure.
2024-02-15 17:09:40 -08:00
Neil Macneale IV 8f01868df0 Skip pulling tags in shallow clone. Currently seg faults
When fetching, verify tag commits aren't ghost commits
2024-02-15 16:33:17 -08:00
James Cor 4849f996b3 Fix windows file paths for dropping databases (#7494) 2024-02-14 15:13:54 -08:00
Aaron Son 4e5febf8b1 Merge pull request #7482 from dolthub/aaron/cluster-standby-takes-epoch-from-primary
go: sqle/cluster: When in standby mode, take the epoch of the primary.
2024-02-14 12:15:27 -08:00
Neil Macneale IV 1e03716a6a Fix the dolt_history_{table} for shallow clones
Also some todo clean up
2024-02-13 17:25:15 -08:00
Neil Macneale IV 832de8f229 Revive the 'url contains no Dolt data' message 2024-02-13 12:03:54 -08:00
Neil Macneale IV 7f348cde07 skip running shallow-clone.bats with remote server tests 2024-02-13 09:54:49 -08:00
Neil Macneale IV e13b963593 More testing, less bugs and TODOs 2024-02-12 17:27:22 -08:00
Neil Macneale IV 3a5f52f62f clone.go refactor to make sane 2024-02-12 17:12:20 -08:00
Neil Macneale IV 9754e73588 Add more shallow clone specific tests
Get golang tests working again
2024-02-12 17:11:08 -08:00
Neil Macneale IV f7bc1ac68f Shallow clone for sindle depth clone in place
All existing tests pass
2024-02-12 17:09:14 -08:00
Aaron Son f77d4c494a go: sqle/cluster: When in standby mode, take the epoch of the primary. When in detected_broken_config, become standby if we see a higher numbered primary. 2024-02-09 14:32:06 -08:00
James Cor c98d46058c fix test 2024-02-09 01:28:12 -08:00
James Cor 308562a557 merge with main 2024-02-08 01:30:39 -08:00
Maximilian Hoffman d019cce6f7 Stats auto refresh (#7424)
* Stats auto refresh prototype

* fix bugs

* test stats update

* add tests, fix bugs

* fix test

* fmt

* delete test

* more tests

* delete table test

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

* add and delete stats hooks

* fmt

* concurrency improvements

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

* write bug

* more tests and stats functions

* working dolt_stat funcs

* test fixes

* bump

* fmt

* fix wg panic

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

* nick comments

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2024-02-07 18:19:56 -08:00
James Cor 285f77e56e fix 2024-02-06 23:12:14 -08:00
James Cor 43e580caa3 bump 2024-02-06 22:58:36 -08:00
James Cor 5fa4172596 bump and test 2024-02-06 12:46:43 -08:00
Neil Macneale IV 9f85c88c5c Fix two tests which depended on broken behavior 2024-02-01 15:00:09 -08:00
Neil Macneale IV 0b822a16f5 Missed a || false 2024-02-01 15:00:09 -08:00
Neil Macneale IV f147d60947 Ignore the local tracking branch when pushing 2024-02-01 15:00:09 -08:00
Stephanie You 62f03b23d7 add disable version check warning 2024-01-31 15:44:23 -08:00
Neil Macneale IV 8ff32cfe9c Test that the --user option of dolt_clone() has desired effect 2024-01-30 14:29:59 -08:00
Nick Tobey 7e5f0ea740 Improve specificity of merge bats test output. 2024-01-26 14:42:40 -08:00
Nick Tobey 5d3c6c586f Improve specificity of merge bats test output. 2024-01-26 10:27:55 -08:00
Nick Tobey 908667a5c3 Update bats tests. 2024-01-25 21:16:59 -08:00
stephanie 4ff2d78ff6 Merge pull request #7408 from dolthub/steph/log-stat
Adds support for `dolt log --stat`
2024-01-25 09:10:20 -08:00
James Cor 40aa0c44ba fix bats tests to include backticks for column names in default and generated expressions (#7401) 2024-01-25 02:00:03 -08:00
Jason Fulghum 8c5d13b8db Updating generated FK ID in test after fixing bug in FK.HashOf() 2024-01-24 15:42:35 -08:00
Jason Fulghum 693465bdcb Merge branch 'main' into fulghum/dolt-7384 2024-01-24 15:24:58 -08:00
Jason Fulghum d15a77e535 Updating generated FK ID in test after fixing bug in FK.HashOf() 2024-01-24 15:22:49 -08:00
Stephanie You a244ea0ec9 skip dolt log --stat test which needs checkout 2024-01-24 15:18:44 -08:00
Jason Fulghum b8b29e6b5f Updating generated FK ID in test after fixing bug in FK.HashOf() 2024-01-24 14:56:55 -08:00
Jason Fulghum 20b4cdf3b0 Bug fix for unresolved FK fields not being included in the FK's hash 2024-01-24 14:46:54 -08:00
Stephanie You c924e7e88f tests for dolt log --stat 2024-01-24 14:45:04 -08:00
Nick Tobey 1fedd619f6 Update bats tests. 2024-01-24 13:39:26 -08:00
Nick Tobey ce9894a7fc Update bats tests. 2024-01-23 23:09:36 -08:00
Nick Tobey 55d31c8ce3 Improve messaging for cherry-picks. 2024-01-23 23:08:51 -08:00
Aaron Son 171c8a4807 dolt backup restore --force: Add a --force option to dolt backup restore, which allows restoring into an already existing database. 2024-01-23 16:09:48 -08:00
stephanie e94ffebb29 Merge pull request #7373 from dolthub/steph/rebase
add `dolt rebase` command
2024-01-23 10:27:58 -08:00
Stephanie You 89c8e806a9 Merge remote-tracking branch 'origin/main' into steph/rebase 2024-01-22 17:21:33 -08:00
Stephanie You b3d5705ac9 failed rebase aborts and cleans up 2024-01-22 15:21:36 -08:00
Nick Tobey 37ae3421b6 Improve bats test, remove added schema merge integration test because it doesn't actually test the modified code. 2024-01-22 15:21:09 -08:00
Nick Tobey 1f8f02811f Concurrent table deletion and schema modification is a schema conflict. 2024-01-22 15:04:59 -08:00
Stephanie You d94f840c92 PR comments 2024-01-22 14:39:52 -08:00