Commit Graph

21749 Commits

Author SHA1 Message Date
Neil Macneale IV
ad5ccae8bd typo 2023-10-31 11:01:05 -07:00
Neil Macneale IV
547dbd8b95 Mark dolt procedures as AdminOnly to force tighter permission checks 2023-10-31 11:01:05 -07:00
Neil Macneale IV
13e346c0fd Tests for the privleges tables 2023-10-31 11:01:05 -07:00
Neil Macneale IV
85155eda22 dependabot squash (#6916)
* Bump golang.org/x/net from 0.15.0 to 0.17.0 in /go

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump golang.org/x/net in /go/gen/proto/dolt/services/eventsapi

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump google.golang.org/grpc from 1.57.0 to 1.57.1 in /go

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.57.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.57.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump google.golang.org/grpc in /go/gen/proto/dolt/services/eventsapi

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.55.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* go mod tidy on integration-tests/go-sql-server-driver

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 11:00:36 -07:00
Dustin Brown
fe8d941700 [ga-bump-dep] Bump dependency in Dolt by macneale4 (#6915)
Co-authored-by: macneale4 <46170177+macneale4@users.noreply.github.com>
2023-10-31 10:53:46 -07:00
Jason Fulghum
c1790e8cde Merge pull request #6914 from dolthub/fulghum-67bb3c8c
[auto-bump] [no-release-notes] dependency by fulghum
2023-10-30 17:00:34 -07:00
fulghum
6c4e470c0d [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-10-30 22:34:16 +00:00
Aaron Son
8e63f5c043 Merge pull request #6892 from dolthub/aaron/copy-table-file-close-fix
[no-release-notes] go/store/nbs: Change lifecycle for io.Reader in WriteTableFile / CopyTableFile so that the thing that opens the Reader is responsible for closing it.
2023-10-30 14:24:53 -07:00
Neil Macneale IV
2f5477b412 Merge pull request #6913 from dolthub/fulghum-2df39383
[auto-bump] [no-release-notes] dependency by fulghum

Addressed test failures resulting from external stored procedures
2023-10-30 14:21:07 -07:00
Neil Macneale IV
5db8e87b1f Add memory procedures to user privs tests 2023-10-30 12:49:14 -07:00
stephanie
881f4db26a Merge pull request #6909 from dolthub/steph/import-table-bug
Remove schema overlap check for tables with same name
2023-10-30 12:32:49 -07:00
fulghum
6ce8165669 [ga-bump-dep] Bump dependency in Dolt by fulghum 2023-10-30 19:20:45 +00:00
Aaron Son
0bd3f93f6e Merge remote-tracking branch 'origin/main' into aaron/copy-table-file-close-fix 2023-10-30 11:28:05 -07:00
Stephanie You
9da80eefba add clarifying comment 2023-10-30 10:57:39 -07:00
stephanie
1f854bda05 Merge pull request #6907 from dolthub/steph/dump-docs-header
change CLI reference header
2023-10-27 16:34:57 -07:00
Stephanie You
9c69905749 match tables by name 2023-10-27 16:11:32 -07:00
Stephanie You
075c26bfad change header 2023-10-27 15:08:41 -07:00
Stephanie You
17db04a175 change CLI reference header 2023-10-27 13:58:13 -07:00
Aaron Son
36daa603cb Merge pull request #6884 from dolthub/aaron/remove-dynamodb-table-persister
[no-release-notes] go/store/nbs: Remove unused functionality which previously allowed storing small table files, containing very few chunks, in DynamoDB instead of S3.
2023-10-27 11:19:47 -07:00
fulghum
75b14b71ce [ga-bump-release] Update Dolt version to 1.21.5 and release v1.21.5 v1.21.5 2023-10-26 23:54:53 +00:00
Jason Fulghum
d6157ba6b6 Merge pull request #6893 from dolthub/fulghum/dolt-6891
Bug fix: for `dolt_history_` system tables
2023-10-26 16:43:28 -07:00
Jason Fulghum
3f2e09e107 Adding godocs to newNonCoveringLookupBuilder and changing it to return an error (instead of panic'ing) if a primary index is passed in 2023-10-26 15:32:59 -07:00
Jason Fulghum
1eda292686 Bug fix for querying dolt_history system tables when using an indexed column from the primary index when a table column has changed its tag 2023-10-26 14:34:47 -07:00
Aaron Son
4318e77b99 [no-release-notes] go/store/nbs: Change lifecycle for io.Reader in WriteTableFile / CopyTableFile so that the thing that opens the Reader is responsible for closing it. 2023-10-26 13:59:24 -07:00
jennifersp
958ce52aa8 [no-release-notes] include creating myview to creating mytable data for enginetests (#6880) 2023-10-26 11:55:20 -07:00
Aaron Son
f03dacca06 Merge remote-tracking branch 'origin/main' into aaron/remove-dynamodb-table-persister 2023-10-26 08:32:14 -07:00
Aaron Son
9c6c9761c9 Merge pull request #6883 from dolthub/aaron/aws-table-persister-uses-s3manager
Remotes: AWS: Fix a bug where uploading tables files to S3 could have unbounded memory usage.
2023-10-26 08:27:39 -07:00
Aaron Son
e6bae6d512 go/store/nbs: s3_fake_test.go: Fix small race in getCount. 2023-10-26 07:30:18 -07:00
Aaron Son
ca4897bb39 go/utils/copyrighthdrs: Remove stale references to store/nbs/dynamo_table_reader{,_test}.go. 2023-10-26 07:24:35 -07:00
Aaron Son
b3542322bf [no-release-notes] go/store/nbs: Remove unused functionality which previously allowed storing small table files, containing very few chunks, in DynamoDB instead of S3. 2023-10-25 16:51:52 -07:00
Aaron Son
c3af0c6b84 go/store/nbs: aws_table_persister.go: Convert to using s3manager.Uploader instead of hand rolled multipart upload.
s3manager.Uploader gets us pooled byte slices, sane sizing and concurrency
limits, optimizations to use io.ReadSeeker when it's available, etc.

Fixes a bug where aws_table_persister could have unbounded memory usage,
proportional to the size of the file, when uploading large table files to S3.
2023-10-25 16:27:58 -07:00
Aaron Son
21c1a1329c go/store/nbs: Convert to use s3iface.S3API as the minimally mockable interface for our S3 client. 2023-10-25 15:19:17 -07:00
Aaron Son
6995bad390 go/store/nbs: aws_table_persister.go: Thread the io.Reader to uploadParts. 2023-10-25 15:09:59 -07:00
Tim Sehn
ce375e4300 Merge pull request #6871 from dolthub/tim/unskip-bats
Remove skip on now passing test for multi-db joins on tables with the same name
2023-10-25 14:10:50 -07:00
Dustin Brown
4dbf6c4674 [auto-bump] [no-release-notes] dependency by max-hoffman (#6877)
* [ga-bump-dep] Bump dependency in Dolt by max-hoffman

* Refactor to account for GMS interface change

---------

Co-authored-by: max-hoffman <maximilian.wolfgang1@gmail.com>
Co-authored-by: Neil Macneale IV <neil@dolthub.com>
2023-10-25 12:58:40 -07:00
Tim Sehn
0979ffff47 Unskipped a bats test I added for a join across multiple databases on tables of the same name that is now fixed. 2023-10-24 16:03:22 -07:00
fulghum
17937a905a [ga-bump-release] Update Dolt version to 1.21.4 and release v1.21.4 v1.21.4 2023-10-24 22:40:30 +00:00
Jason Fulghum
6d4dbfdda5 Merge pull request #6870 from dolthub/fulghum/revert
Revert "Change parent order processing in commit iterator …"
2023-10-24 15:30:02 -07:00
Jason Fulghum
fbc63d3742 Revert "Change parent order processing in commit iterator so that we always traverse first the parent of a merge commit that supplied the commits merged in that commit."
This reverts commit 2e5e6aa968.
2023-10-24 14:03:19 -07:00
Nick Tobey
b3a93c1242 Merge pull request #6866 from dolthub/nicktobey/multidb
Store source database info in tables and columns.
2023-10-24 13:02:19 -07:00
Nick Tobey
f2f5bbbbe2 Replace BATS test with engine test for joining tables from different branches. 2023-10-24 11:39:17 -07:00
fulghum
4d8fe2a875 [ga-bump-release] Update Dolt version to 1.21.3 and release v1.21.3 v1.21.3 2023-10-24 17:43:04 +00:00
Jason Fulghum
e9f89a12da Merge pull request #6862 from dolthub/fulghum/dolt-6861
Ensure `dolt_diff_<tablename>` reports most-specific commit that changed a row
2023-10-24 10:18:03 -07:00
nicktobey
c2a4ed630e [ga-bump-dep] Bump dependency in Dolt by nicktobey 2023-10-24 09:37:30 -07:00
reltuk
a8ae15ef42 [ga-bump-release] Update Dolt version to 1.21.2 and release v1.21.2 v1.21.2 2023-10-24 01:39:38 +00:00
Aaron Son
7f11dcbfc5 Merge pull request #6864 from dolthub/aaron/dbfactory-preiodically-refresh-aws-file-credentials
dbfactory: aws: For AWS remotes using an explicit file credentials, periodically refresh the credentials the AWS client uses from the file contents.
2023-10-23 18:30:20 -07:00
Nick Tobey
ca85b446c3 Use database name for system tables and table functions. 2023-10-23 17:54:24 -07:00
Nick Tobey
b6b71031de Change expected error in ambiguous select. 2023-10-23 16:55:08 -07:00
Aaron Son
b083c24d69 dbfactory: aws: For AWS remotes using an explicit file credentials, periodically refresh the credentials the AWS client uses from the file contents.
Some use cases put attenuated, expiring credentials into files. It's nice to
pick up the new credentials without needing to recreate the client.
2023-10-23 16:54:55 -07:00
Nick Tobey
3af5f45273 Track database in system tables. 2023-10-23 16:45:12 -07:00