Commit Graph

7955 Commits

Author SHA1 Message Date
Stephanie You 93c44b6dac add file line number to import table error message 2023-10-20 15:23:19 -07:00
Stephanie You e2e1ca0279 add table name to import table error 2023-10-20 14:39:44 -07:00
Stephanie You 0c2c6270de add column names to import table error message 2023-10-20 14:33:44 -07:00
Maximilian Hoffman cb49ae6f9c has_ancestor() function (#6847)
* has_ancestor() function

* license

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

* zach's comments

* one more test

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-10-19 20:21:07 -07:00
stephanie 3688b8325e Merge pull request #6834 from dolthub/steph/ls
migrate dolt ls to use sql queries
2023-10-19 09:50:47 -07:00
Maximilian Hoffman 5364ef3786 JSON and stats interface refactor (#6833)
* JSON and stats interface refactor

* Fix some tests

* fix more tests

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

* bump

* bump

* cleanup

* json keys are ordered

* bump

* keep ordered json string for CV types

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-10-18 20:29:31 -07:00
stephanie 973e676a0e Merge branch 'main' into steph/ls 2023-10-18 15:52:26 -07:00
Stephanie You 0fdc1553fa address PR comments 2023-10-18 14:37:24 -07:00
Maximilian Hoffman 47c384924c Add defaults for dolt table row counts (#6822)
* Add defaults for dolt table row counts

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

* RowCount exact argument

* more interfaces

* bump

* zach's commit

---------

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2023-10-17 18:07:59 -07:00
Stephanie You 534dbd8b47 add dolt_show_system_tables system variable to toggle listing system tables 2023-10-17 17:03:54 -07:00
Aaron Son 597c4d56cd Merge pull request #6831 from dolthub/aaron/cluster-nondolt-replication-graceful-standby
go: sqle: cluster: When performing a graceful transition to standby, take mysql and dolt_branch_control replication state into account.
2023-10-17 16:50:32 -07:00
reltuk d70a6d1782 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-10-17 22:26:30 +00:00
Aaron Son 0c72ec5205 go: sqle: cluster: Take mysql and dolt_branch_control replication state into account when performing a graceful transition to standby. 2023-10-17 15:01:46 -07:00
Aaron Son c5ae6896b8 go: sqle: cluster: Have Controller.waitforHooksToReplicate return []graceTransitionResult. 2023-10-17 14:01:59 -07:00
Aaron Son 32c33e69cd go: sqle: cluster: Allow waits for mysql and branch_control replication to report which remotes are caught up. 2023-10-17 13:57:21 -07:00
Taylor Bantle 34a143c93c Fix dolt_docs as of 2023-10-17 09:55:37 -07:00
Taylor Bantle dbb0bf8e2b Make dolt_docs system table function like dolt_ignore 2023-10-17 09:34:16 -07:00
Nick Tobey 40926d2db0 Fix control flow in Database::getTableInsensitive 2023-10-16 17:04:36 -07:00
nicktobey 6721bf6eba [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-10-16 23:50:29 +00:00
Nick Tobey e6f6a0555f Rename interface to VersionableTable, plus other cleanups. 2023-10-16 16:40:33 -07:00
Nick Tobey e9354f6ce5 Add VersionedTable interface. 2023-10-16 16:33:05 -07:00
Maximilian Hoffman b6a077ceb9 Prolly stats (#6794)
* Prolly tree stats

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

* test fix

* bump

* [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>
2023-10-16 08:47:31 -07:00
jennifersp c107df2bc2 add --all flag for dolt push (#6787) 2023-10-14 12:36:25 -07:00
stephanie 36256bcdcc Merge pull request #6774 from dolthub/steph/pull
migrate dolt pull to use sql queries
2023-10-13 15:25:17 -07:00
stephkyou 4a1179c665 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-10-13 08:27:37 +00:00
Stephanie You 56edbb2100 update dolt pull logic to fix bugs 2023-10-13 01:12:52 -07:00
Jason Fulghum aab6972dad Preventing dolt_checkout from creating new branches in read-only databases.
Fixes: https://github.com/dolthub/dolt/issues/6785
2023-10-12 13:37:09 -07:00
Zach Musgrave 4e403e85cd Merge branch 'main' into zachmu/virtual 2023-10-12 09:07:29 -07:00
zachmu 351c95c306 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2023-10-11 23:51:59 +00:00
Jason Fulghum 23655e4cc6 Merge branch 'fulghum/undrop' into aaron/undrop-cluster-tests 2023-10-11 16:39:00 -07:00
Zach Musgrave 71504fd97b Moved GetForeignKeyEditor to WritableDoltTable, from AlterableDoltTable. This is necessary for recent analyzer changes, which replace the Table implementation in the plan node when creating an indexed access. IndexedDoltTable embeds WritableDoltTable, but not AlterableDoltTable. 2023-10-11 16:20:10 -07:00
Jason Fulghum c9e79e9742 Merge branch 'main' into fulghum/undrop 2023-10-11 16:06:32 -07:00
Jason Fulghum a437340821 Merge branch 'fulghum/undrop' into aaron/undrop-cluster-tests 2023-10-11 15:59:22 -07:00
Jason Fulghum 8d71642992 More debugging 2023-10-11 14:46:33 -07:00
Jason Fulghum 960f24df8a More debugging 2023-10-11 14:20:59 -07:00
Jason Fulghum 52932c5577 Debugging windows-specific erorr about chunk journal being closed multiple times 2023-10-11 12:32:35 -07:00
Max Hoffman 954367baa0 stats tests reset info_schema table in heavy handed way 2023-10-10 15:12:57 -07:00
Jason Fulghum de41c42f0d Tidying up test runner func 2023-10-10 14:34:20 -07:00
Jason Fulghum d976b46b0d PR Feedback: normalizing physical directory names when moving them to the dropped dbs directory, so that they will always match the logical name of the database when they are restored. 2023-10-10 14:12:20 -07:00
Jason Fulghum 1f7cbe03ed Adding enginetests for dolt_undrop 2023-10-10 11:32:33 -07:00
Jason Fulghum 7bb886d9d5 PR feedback: changing the directory name for dropped databases to ".dolt_dropped_databases" so that it's a hidden directory 2023-10-09 16:31:32 -07:00
Jason Fulghum a47c4f8b7c PR feedback: removing some duplication around use of TryLock to assert that mutexes are locked and adding some extra comments. 2023-10-09 16:29:35 -07:00
Stephanie You ed6c0dc407 fix typo in dolt_merge 2023-10-09 15:48:49 -07:00
Stephanie You 5ca6a19962 fix dolt pull --force to work properly 2023-10-08 20:55:19 -07:00
Aaron Son 17c451c12e Merge remote-tracking branch 'origin/main' into aaron/undrop-cluster-tests 2023-10-06 17:20:22 -07:00
Aaron Son dcc009509e Merge remote-tracking branch 'origin/fulghum/undrop' into aaron/undrop-cluster-tests 2023-10-06 17:20:15 -07:00
Aaron Son a4dc8403d5 Merge remote-tracking branch 'origin/main' into aaron/cluster-replication-wait-for-users-and-grants 2023-10-06 17:03:29 -07:00
Aaron Son 8c82992dab Merge remote-tracking branch 'origin/main' into aaron/sqle-cluster-fix-users-and-grants-race 2023-10-06 17:02:13 -07:00
Aaron Son de3eed8b73 go: sqle: cluster: Make users and grants replication respect dolt_cluster_ack_writes_timeout_secs. 2023-10-06 15:46:42 -07:00
Aaron Son bc7dab890f Merge branch 'aaron/sqle-cluster-fix-users-and-grants-race' into aaron/cluster-replication-wait-for-users-and-grants 2023-10-06 15:25:05 -07:00