Commit Graph

8590 Commits

Author SHA1 Message Date
Daylon Wilkins 94df749605 Merge pull request #7610 from dolthub/daylon/fulltext-optimization
Optimize full-text to selectively rebuild
2024-03-14 22:25:32 -07:00
Maximilian Hoffman 4da8f55572 [sqle] don't panic reading history table (#7616)
* [sqle] don't panic reading history table

* better test

* [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-03-14 15:42:20 -07:00
Aaron Son 73eff4d569 go/libraries/doltcore/merge: fulltext_rebuild.go: Add some comments, refactor some things into functions, even if they are still too big. 2024-03-14 15:41:20 -07:00
Maximilian Hoffman 72428792e2 [sqle] Allow bindvars in most function constructors (#7615)
* [sqle] Allow bindvars in most function constructors

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

* move test

* skip single script test

* rename expression var to avoid name overlap

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

* more expression2

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

* more expression2

* [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-03-14 12:37:06 -07:00
Daylon Wilkins ee736b0cbc Optimize full-text to selectively rebuild 2024-03-14 04:16:53 -07:00
Jason Fulghum 5ee90101bc Merge pull request #7539 from dolthub/fulghum/schema-pinning
Feature: Schema overriding
2024-03-07 17:17:28 -08:00
Jason Fulghum d2c4af2749 Renaming to @@dolt_override_schema 2024-03-07 16:49:56 -08:00
James Cor df23415be2 fix comparison for []byte (#7584) 2024-03-07 16:46:42 -08:00
Jason Fulghum 794e30d196 Adding follow up TODO notes from PR feedback 2024-03-07 15:46:18 -08:00
Jason Fulghum 86c55760ff Correcting comment 2024-03-07 15:37:57 -08:00
Jason Fulghum 95a5964e04 PR Feedback: truncating string values when mapping to a more narrow string type 2024-03-07 14:27:57 -08:00
James Cor 2b6a11dec3 fix bad charset tests and dolt table import schema (#7581) 2024-03-07 13:59:45 -08:00
Jason Fulghum fd7be9afbe Fixing an issue with joins when index schemas don't match up with overridden schemas 2024-03-07 12:14:11 -08:00
Jason Fulghum cd6dd33736 Adding tests for revision DBs with ancestor syntax 2024-03-07 11:40:49 -08:00
Jason Fulghum 6093311f4a Adding tests for tag revision DBs 2024-03-06 15:03:58 -08:00
Dustin Brown 1ab59cbedf [auto-bump] [no-release-notes] dependency by jycor (#7560) 2024-03-01 12:46:38 -08:00
Jason Fulghum 5859856fa3 Adding tests for revision DBs 2024-02-29 15:45:28 -08:00
Jason Fulghum 4e377157ff Removing an error check so that tag and commit revision dbs won't error out 2024-02-29 15:05:10 -08:00
Jason Fulghum 20725c96b1 Switching from a *string return val to just a string 2024-02-29 14:59:47 -08:00
Jason Fulghum d89cce9ae0 Adding tests that assert the system tables don't disable schema overrides for other queries 2024-02-29 14:23:46 -08: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
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
fulghum 1f3579d332 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-02-26 23:50:58 +00:00
Jason Fulghum 8f2eb2ef07 Updating from partial clone / OptionalCommit API changes form main 2024-02-26 15:43:52 -08:00
Jason Fulghum 5a75fc8987 Merge branch 'main' into fulghum/schema-pinning 2024-02-26 15:29:15 -08:00
Jason Fulghum 4d36524191 Adding system table tests 2024-02-26 15:16:56 -08:00
Jason Fulghum 24fe319608 Tidying up 2024-02-26 12:37:20 -08:00
Jason Fulghum 6c0a2e274b Adding tests for dropping columns 2024-02-26 12:36:48 -08:00
Jason Fulghum 6ef331e858 Adding tests for mapping PK schema changes 2024-02-26 12:36:48 -08:00
Jason Fulghum 5426138d87 Refactoring out a schema override helper function 2024-02-26 12:36:48 -08:00
Jason Fulghum f6daf5d7a3 Adding more type change tests and allowing the row converter function to return an error 2024-02-26 12:36:48 -08:00
Jason Fulghum d2e2065298 Making databases read-only when a schema override is in place 2024-02-26 12:36:17 -08:00
Jason Fulghum 6a4c99b91d Adding tests for joins when schema is mapped; adding support for simple type conversion 2024-02-26 12:36:17 -08:00
Jason Fulghum 7db3825f0d Changing the row converter function to match on column tags and fall back to matching on column names 2024-02-26 12:36:17 -08:00
Jason Fulghum e96dc2cb18 First pass on a prototype for schema pinning 2024-02-26 12:36:17 -08:00
Maximilian Hoffman 2fbcb38008 [stats]: fix panic for empty table stats with one root chunk (#7507)
* [stats]: fix panic for empty table stats with one root chunk

* log stats load errors as warnings

* splunk support for stats
2024-02-26 08:57:23 -08:00
Nick Tobey fec4bb4275 Allow importing tables when the columns contain characters that require escaping. 2024-02-23 15:21:15 -08:00
Dustin Brown ad79d8fbee [auto-bump] [no-release-notes] dependency by max-hoffman (#7525)
* [ga-bump-dep] Bump dependency in Dolt by max-hoffman

* [skip actions] [ga-update-correctness] SQL Correctness updated to 99.999933

* fix query diff test

* include db in table schemas

* comment on flake test

---------

Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com>
Co-authored-by: coffeegoddd <coffeegoddd@users.noreply.github.com>
2024-02-21 16:50:29 -08:00
coffeegoddd 1749688ca7 /go/{libraries,store}: revert removal of GetTopNTopoOrderedCommitsMatching, fix CSMetricWrapper chunkstore 2024-02-16 12:02:39 -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 050a258ccb Untangle the loop arount PullChunks 2024-02-15 16:33:52 -08:00
Neil Macneale IV 3a59ea51e6 PR feedback 2024-02-15 16:33:52 -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
coffeegoddd d74a1dbc60 /go/libraries/doltcore/env/config.go: fix no config panic 2024-02-15 10:31:24 -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 ddf74aae9f report error if the ghost objects file is busted 2024-02-14 09:49:55 -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
Jason Fulghum b368470ab1 Fixing issue with IndexedDoltTable not fully implementing the interface of DoltTable (inconsistent with WritableIndexedDoltTable) 2024-02-13 16:37:10 -08:00
macneale4 0212c7b5d1 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2024-02-13 20:41:35 +00:00