Commit Graph

18454 Commits

Author SHA1 Message Date
Elian 215fa309e6 add dolt queries test 2025-06-24 14:07:33 -07:00
Elian 89c109c40f amend to mark valid remoteRefs >= 1 2025-06-24 14:07:32 -07:00
Elian d7c513d916 fix <tag> [<tables>] scenario 2025-06-24 14:07:32 -07:00
Elian 2bb8c43e2e add central detached head check 2025-06-24 14:07:32 -07:00
Elian 9a867168c1 fix working set not being taken into consideration during switch 2025-06-24 14:07:32 -07:00
Elian 6404995479 amend order exe 2025-06-24 14:07:32 -07:00
Elian a84a82e264 add tag check 2025-06-24 14:07:32 -07:00
Elian aff9006ab7 fix table resolved as branch err and off-by-one err 2025-06-24 14:07:32 -07:00
Elian 39c79cab28 add only table cond 2025-06-24 14:07:32 -07:00
Elian 878058f792 rm unused isBranch 2025-06-24 14:07:32 -07:00
Elian e53a08521c fix branch db err and tablespec 2025-06-24 14:07:32 -07:00
Elian a4e10d589d add success msgs 2025-06-24 14:07:32 -07:00
Elian 27a0d5f556 mv working set fallback 2025-06-24 14:07:32 -07:00
Elian 88ed2d16e9 add case 3, 4 in DWIM git checkout 2025-06-24 14:07:32 -07:00
Elian 2ccab5efde add case 1..3 impl for checkout <ref> -- <table(s)> 2025-06-24 14:07:32 -07:00
James Cor 8ab572b767 [no-release-notes] backtick tests (#9380) 2025-06-24 12:56:17 -07:00
Neil Macneale IV d86cffbfdb Now with more error checking 2025-06-24 11:38:33 -07:00
Neil Macneale IV 0f2d186efb Ensure error checking is performed when generating statistics template 2025-06-24 11:16:58 -07:00
Neil Macneale IV 44d79e9c3b Merge pull request #9349 from codeaucafe/codeaucafe/feat/1083-validate-import-args-before-reading-import-rows
feat(import): validate primary keys early
2025-06-24 10:42:36 -07:00
Aaron Son 36afffdf19 Merge pull request #9383 from dolthub/aaron/clone-with-local-temp-files
go: clone: Fix dolt clone to work even when dolt startup logic detects that TMPDIR is not renamable to the local directory and it creates a .dolt/tmp directory.
2025-06-24 10:02:26 -07:00
Elian 49d1ea1eaa Merge pull request #9379 from dolthub/elianddb/fix-8853-local-user-persist
Fix 8853 warn local user persists
2025-06-23 18:40:20 -07:00
Elian 3879f7ad26 fix logrus func call 2025-06-23 16:50:48 -07:00
Aaron Son f54449dbb2 go: clone: Fix dolt clone to work even when dolt startup logic detects that TMPDIR is not renamable to the local directory and it creates a .dolt/tmp directory. 2025-06-23 16:41:10 -07:00
Elian e9cb6dd798 switch to logrus, rm loop, and amend warning msg 2025-06-23 16:38:36 -07:00
Elian 3b5fb9a3a5 inline rm user and roles 2025-06-23 16:38:35 -07:00
Elian 89ca475bd6 add recreation and warning log for __dolt_local_user__ 2025-06-23 16:38:35 -07:00
Nathan Gabrielson 18dc62e7a4 Fix engine test, stash.go cleanup 2025-06-23 16:20:11 -07:00
Nathan Gabrielson 1f08c69c90 stop skipping tests 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 6b9a55cc31 Fixing tests & code cleanup 2025-06-23 10:50:33 -07:00
NathanGabrielson 63a24513fc [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 4cd3a04fc7 Small fixes 2025-06-23 10:50:33 -07:00
Nathan Gabrielson aefb178551 No more dEnv, get rid of bad sql interpolation 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 531b7c61c8 Moving stuff around, small fixes 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 0df5282be4 Couple things I forgot to change back 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 50a3be6ea2 Query system table, code is now less headache inducing 2025-06-23 10:50:33 -07:00
NathanGabrielson 3258d0fff5 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-23 10:50:33 -07:00
Nathan Gabrielson 94730adc71 Rough draft for stash migration 2025-06-23 10:50:33 -07:00
angelamayxie 79c6272396 [ga-bump-dep] Bump dependency in Dolt by angelamayxie 2025-06-21 05:28:06 +00:00
Dustin Brown 4bbdccba57 [ga-bump-dep] Bump dependency in Dolt by jycor (#9377) 2025-06-20 19:52:11 -07:00
David Dansby dd80d98dc9 fix(import): address PR feedback for primary key validation
Update validation function to support name mapping during primary key
validation, allowing users to specify primary keys using either
original CSV column names or mapped target column names when using
the --map option. Ensure validation is properly skipped when schema
files are provided since --pk and --schema parameters are mutually
exclusive.

Update test expectations in import-create-tables.bats to match the
existing detailed error message format that includes available columns,
rather than changing the error messages to match the old test
expectations. Move new validation tests from import-tables.bats to
import-create-tables.bats as requested in code review.

The two failing tests "try to table import with nonexistent --pk arg"
and "try to table import with one valid and one nonexistent --pk arg"
now pass because our early validation catches these errors before
InferSchema, producing more helpful error messages that include
available columns. Updated the test expectations to match our
validation's error format instead of the old generic "column not found"
message.

Refs: #1083
2025-06-19 23:12:48 -07:00
zachmu 459091ca0b [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-19 01:04:55 +00:00
Zach Musgrave 233d166466 better TODO comment, found an issue with doltgres 2025-06-18 17:56:46 -07:00
Zach Musgrave 47d7fe3ae6 Merge branch 'zachmu/sys_tables' of github.com:dolthub/dolt into zachmu/sys_tables 2025-06-18 15:14:05 -07:00
Zach Musgrave 600dc335d4 Merge branch 'main' into zachmu/sys_tables 2025-06-18 15:13:41 -07:00
zachmu 8831317932 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2025-06-18 21:47:27 +00:00
Dustin Brown d839ca0aa9 [ga-bump-dep] Bump dependency in Dolt by jycor (#9372)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-06-18 12:54:51 -07:00
Zach Musgrave 0686118647 Merge branch 'zachmu/sys_tables' of github.com:dolthub/dolt into zachmu/sys_tables 2025-06-18 12:37:29 -07:00
Zach Musgrave 6bffd93bf7 Bug fix, small refactorings 2025-06-18 12:37:03 -07:00
Dustin Brown bd1348a9c0 [ga-bump-dep] Bump dependency in Dolt by jycor (#9370)
Co-authored-by: jycor <jcor@ucsd.edu>
2025-06-18 00:35:41 -07:00
coffeegoddd 19ffd29653 [ga-bump-release] Update Dolt version to 1.55.2 and release v1.55.2 2025-06-17 18:56:11 +00:00