-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
83604: sql: Support privileges on virtual tables r=rafiss a=RichardJCai Caching is added in this PR. `cacheutil.cache` is added to generalize the caching work done for role membership cache and userAuth cache. There is more testing work to be done on the cache + migration work to add an entry for `public` having `SELECT` on every virtual table. Release note (sql change): Support privileges on virtual tables. Previously users were unable to GRANT on virtual tables, ie tables in crdb_internal / pg_catalog / information_schema. Now users can GRANT/REVOKE `SELECT` privilege on virtual tables. `SELECT` is needed to query a virtual table. 85386: logictest: add TestLogic_tmp for testing untracked logic test files r=mgartner a=mgartner This commit improves the developer experience when working with logic tests. The logic test generator no longer generates a dedicated test for logic tests files prefixed with "_". The hard-coded `TestLogic_tmp` test has been added which runs all such logic test files. This allows developers to create and run temporary test files that are not checked into the repository, without repeatedly regenerating and reverting changes to the `generated_test.go` files. For example, if you add a git-ignored file logic test file, `pkg/sql/logictest/testdata/logic_test/__test`, you can run it with the `local` config with the command: ./dev test pkg/sql/logictest/tests/local -f TestLogic_tmp Previously, to facilitate running these types of tests, `./dev test` would automatically regenerate logic tests every time tests were run. This was primarily motivated by the desire to make testing temporary logic test files easier - a developer would not have to run `./dev gen logictest` every time they wanted to test a temporary file. However, this was a poor experience because it made running tests significantly slower, and logic tests generated for temporary logic test files would have to be reverted repeatedly. `TestLogic_tmp` eliminates the need for this automatic regeneration, so it has been removed. The `--no-gen` flag, which disabled automatic regeneration, has also been removed. When committing a new logic test file to the repository, developers must now run `./dev gen testlogic` to generate logic tests for it. Release note: None 85624: roachtest: extend bounds for tpch_concurrency with high refresh spans bytes r=yuzefovich a=yuzefovich We recently fixed several omissions around the way we track the refresh spans memory usage, so this roachtest now hits the upper bound consistently. This commit removes the lowered bounds for one config, and we'll follow the behavior for a week or so - fingers crossed, we can remove lowering of the setting. Release note: None Co-authored-by: richardjcai <[email protected]> Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.