Commit Graph

4313 Commits

Author SHA1 Message Date
Andy Arthur faaf7da768 Merge remote-tracking branch 'origin/main' into andy/dolt-docs 2022-07-13 11:15:19 -07:00
Dhruv Sringari 59c86f6a3b [no-release-notes] index cat and rebuild for new format (#3814)
* cleanup table package

* delete TextTableWriter

* dolt index [cat, rebuild] for new format

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

* fix tests

* use reflect.DeepEqual when determining column diff results

* use sql type compare instead of reflect.DeepEqual

* update test to use sql column types

* fix semantic merge conflict

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-13 10:03:56 -07:00
Brian Hendriks 1885f2f1b1 Merge pull request #3818 from dolthub/bh/disable-params
disable aws params for dolt_sync command run via sql and minor credentialing change
2022-07-13 09:57:04 -07:00
Dhruv Sringari 14899d2909 Drop support for deleting conflicts through cli and add cardinality column for keyless table conflicts (#3777)
* reimplement dolt_transaction_merge_stomp at merge layer


add idx

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

* fix tests

* remove stomp conflicts

* conflict reader must be reset each time PartitionRows is called

* reimplement dolt conflict resolve --theirs|--ours through sql path

Also drops manual conflict resolving through cli

* add cardinality columns to dolt_conflicts_table_name for keyless tables

* Adds keyless conflict deleting for new format

* dolt conflicts resolve sql impl for keyless tables

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

* delete cli.ParseKeyValues

* fix tests

* temporarily allow dolt_docs to be mutated from SQL path

Because conflicts resolve uses the SQL path, dolt_docs needs to be editable.

* fix untested code, comment out docs tests

* bats

* fix a couple found merge bugs

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

* if statements...

* add comments

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-12 17:34:20 -07:00
Brian Hendriks 1b4420b1f0 disable aws params for dolt_sync command run via sql and minor credentialing change 2022-07-12 17:16:34 -07:00
Andy Arthur f5765027d7 Merge remote-tracking branch 'origin/main' into andy/err-serialization-failure 2022-07-12 14:42:50 -07:00
Andy Arthur 606031f684 updated transaction merge stomp tests to obey first-write-wins 2022-07-12 14:42:10 -07:00
Brian Hendriks 48480f302a Merge pull request #3798 from dolthub/bh/user-specific-sess-vars
Support per user session variables in the server config
2022-07-12 14:34:42 -07:00
Maximilian Hoffman 3ec0e48b0d dolt_checkout and read replication working set fixes (#3808)
* dolt_checkout and read replication working set fixes

Sql path 'dolt_checkout' used to create a new branch from HEAD
if the checkout name did not have a remote tracking ref. The CLI,
on the other hand, will initialize a local branch if a remote tracking
ref with the same name in the default remote exists. The SQl path
now mirrors the CLI checkout: if we checkout a new branch, like
'new_feature', and we have previously fetched that branch from our
default remote, `dolt_checkout('feature')` will initialize a branch
using the head commit from the remote `feature`.

Second, read replication was creating a local tracking branch for
remote branches (sourced from the master remote), but not creating
corresponding working sets. This let users attach to new branches with
`use db/feature` syntax, but prevented users from
`dolt_checkout('feature')` both for the bug in dolt checkout, but also
because we created an intermediary state with a local branch, but
without a corresponding working set. SQL replication will now fetch,
create the new branch, and create the appropriate working set.

* jennifer's feedback

* unskip
2022-07-12 14:17:28 -07:00
Brian Hendriks e0712b9904 pr feedback 2022-07-12 13:07:42 -07:00
Brian Hendriks a6966c222e Merge remote-tracking branch 'remotes/origin/main' into bh/user-specific-sess-vars 2022-07-12 12:24:35 -07:00
Andy Arthur 872a7dd7ea Merge remote-tracking branch 'origin/main' into andy/err-serialization-failure 2022-07-12 09:51:24 -07:00
Maximilian Hoffman 59fcfb7069 [no-release-notes] projection mappings perf (#3780)
* init

* fix bug

* fix history table

* fix covering index bug

* cleanup

* another covering bug

* fix history table caching

* delete comments

* more cleanup

* andy's comments

* delete old costs
2022-07-11 16:20:09 -07:00
bheni 672e79cb84 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-11 22:28:42 +00:00
Brian Hendriks fdb5104efe Support per user session variables in the server config 2022-07-11 15:26:38 -07:00
Andy Arthur 4c32f515ed rip out DOLT_TRANSACTION_MERGE_STOMP 2022-07-11 13:34:36 -07:00
Andy Arthur a90c734ab5 on transaction merge conflict, return ErrLockDeadlock (1213) with SQLSTATE (40001) 'serialization failure' 2022-07-11 13:09:32 -07:00
Maximilian Hoffman efdf426a66 Backup success=1, error=0 (#3792) 2022-07-11 13:05:37 -07:00
jennifersp 00d520ddc8 add dolt_tags system table and dolt_tag() procedure (#3774) 2022-07-08 17:55:01 -07:00
Jason Fulghum 2da598787d Fixing test data now that the backtick escaping fix landed in GMS. 2022-07-08 15:49:08 -07:00
Jason Fulghum 5e6c5014a5 Merge branch 'main' into fulghum/issue-3776 2022-07-08 15:45:47 -07:00
Aaron Son 49b3437a55 Merge pull request #3783 from dolthub/aaron/hooks-database-more-head-updates
go: doltdb: commit_hooks,hooksdatabase: Ensure that replication hooks work for replicating HEADs when the commit itself is already on the remote.
2022-07-08 13:11:00 -07:00
Aaron Son 178c3bf2b5 go: doltdb: commit_hooks,hooksdatabase: Ensure that replication hooks work for replicating HEADs when the commit itself is already on the remote. 2022-07-08 11:33:46 -07:00
Aaron Son f81f02eed1 go: Migrate from opentracing to opentelemetry. 2022-07-08 10:18:47 -07:00
fulghum ee2a859996 [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh 2022-07-07 23:56:29 +00:00
Jason Fulghum 089428fabd Allowing backticks in index names and adding tests 2022-07-07 16:51:24 -07:00
jennifersp a16adf1913 Add --track flag to dolt checkout (#3759) 2022-07-07 14:30:24 -07:00
Dhruv Sringari f38111fa54 [no-release-notes] reimplement dolt_transaction_merge_stomp at merge layer (#3768)
* reimplement dolt_transaction_merge_stomp at merge layer


add idx

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

* fix tests

* remove stomp conflicts

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-07 13:37:02 -07:00
jennifersp 9162d24a32 fix for datetime and time types for exporting parquet file (#3743) 2022-07-06 17:10:51 -07:00
Andy Arthur 7bd18984b8 pr feedback 2022-07-06 14:35:49 -07:00
Andy Arthur 1dc4d73778 Merge remote-tracking branch 'origin/main' into andy/filtered-reader 2022-07-06 12:36:15 -07:00
Andy Arthur f10e0f8796 fixed n^2 construction time for row mappings 2022-07-06 12:26:17 -07:00
Maximilian Hoffman 8bf6dce1ee [no-release-notes]Blob internal chunksize different than leaf chunksize (#3766)
* fix json starter

* fix tests
2022-07-06 11:23:44 -07:00
Maximilian Hoffman 6ca943a9a9 GMS type simplifications (#3757)
* gms bump

* add bound checks

* last PR reverted go.mod accidentally
2022-07-06 11:01:10 -07:00
Aaron Son 855895f378 Merge pull request #3760 from dolthub/aaron/no-shim-from-vrw-to-nodestore
[no-release-notes] go: Carry a NodeStore in DoltDB and datas.database, instead of shim'ing a new NodeStore from the VRW when we need one.
2022-07-06 09:18:07 -07:00
Dhruv Sringari 0d5eff8499 [no-release-notes] query catalog for new format (#3762)
* query catalog for new format

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

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-06 09:13:03 -07:00
Jason Fulghum 4a3ae64517 Merge pull request #3758 from dolthub/fulghum-03e02e66
[auto-bump] [no-release-notes] dependency by fulghum
2022-07-05 18:12:00 -07:00
Andy Arthur 7b6e77e565 rip out docs 2022-07-05 17:25:28 -07:00
Maximilian Hoffman cf2812f20e CLI write commands server-locked (#3755)
* [no-release-notes] broken arm release

* CLI write commands server-locked

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

* abs path

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-07-05 16:30:40 -07:00
AndyA 3d503c2dc3 Merge pull request #3740 from dolthub/andy/prolly-ranges
[no-release-notes] Refactored prolly ranges
2022-07-05 16:00:46 -07:00
Aaron Son 119b44beb5 go/libraries/doltcore/sqle/dtables/diff_iter.go: Fix SIGSEGV on diff iter construction with a nil table on one side. 2022-07-05 15:46:23 -07:00
Andy Arthur 928ba2756d implementing projection pushdowns 2022-07-05 15:21:59 -07:00
Aaron Son 7073a23292 go: Remove shim.ChunkStoreFromVRW, thread NodeStore to more places. 2022-07-05 15:15:52 -07:00
Dhruv Sringari a724a2d56b [no-release-notes] rewrite dolt conflicts cat to use sql path (#3756)
* add our_diff_type and their_diff_type to dolt_conflicts_table_name

* pr comments

* rewrite dolt conflicts cat to use sql path

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

* cleanup

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

* add smoke test for conflict cat

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-07-05 15:08:10 -07:00
Jason Fulghum ad6a474119 Adding a skip for a enginetest failure with the new storage format 2022-07-05 14:23:58 -07:00
Aaron Son 642f2e0ba7 go: More migration away from shim into NodeStore. 2022-07-05 14:16:36 -07:00
Andy Arthur 8299c204ff Merge remote-tracking branch 'origin/main' into andy/filtered-reader 2022-07-05 14:16:03 -07:00
Andy Arthur e707248333 Merge branch 'andy/prolly-ranges' into andy/filtered-reader 2022-07-05 14:15:47 -07:00
Jason Fulghum ce1885cbc5 Adding a skip for a enginetest failure with the new storage format. 2022-07-05 14:13:53 -07:00
Andy Arthur 70c9fdbf96 aaron's pr feedback 2022-07-05 14:13:12 -07:00