Skip to content

sql: implement the ALTER TABLE ... SET (...) syntax#75262

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
otan-cockroach:with_syntax
Jan 26, 2022
Merged

sql: implement the ALTER TABLE ... SET (...) syntax#75262
craig[bot] merged 2 commits intocockroachdb:masterfrom
otan-cockroach:with_syntax

Conversation

@otan
Copy link
Copy Markdown
Contributor

@otan otan commented Jan 21, 2022

see individual commits for details.
prep work for TTL.

@otan otan requested review from a team and rafiss January 21, 2022 04:40
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@otan otan force-pushed the with_syntax branch 2 times, most recently from 596d4c7 to 7db8c95 Compare January 23, 2022 23:09
@otan otan mentioned this pull request Jan 24, 2022
30 tasks
@otan otan force-pushed the with_syntax branch 2 times, most recently from ecd18ec to 7db8c95 Compare January 24, 2022 00:22
Copy link
Copy Markdown
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1, 8 of 8 files at r2, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @otan)

otan added 2 commits January 26, 2022 21:27
Release note (sql change): Added pgcodes to errors when an invalid
storage parameter is passed.
Release note (sql change): Implemented the `ALTER TABLE ... SET (...)`
syntax. This mostly no-ops as we do not support any storage parameters
(yet).
@otan
Copy link
Copy Markdown
Contributor Author

otan commented Jan 26, 2022

bors r=rafiss

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 26, 2022

Build succeeded:

@craig craig bot merged commit f918e4b into cockroachdb:master Jan 26, 2022
craig bot pushed a commit that referenced this pull request Jan 27, 2022
75429: parser: implement ALTER TABLE ... RESET (...)  r=rafiss a=otan

Only last two commits for review (rest is #75262).
See individual commits for details.

75464: *: use bootstrap.BootstrappedSystemIDChecker in tests r=postamar a=postamar

Instead of relying on hard-coded constants, tests now rely on the
bootstrapped system schema to determine which IDs belong to system
tables or not.

Release note: None

75561: sql/tests: skip st_buffer in randomized test r=otan a=rafiss

fixes #74078

Release note: None

75598: kvserver: deflake TestBackpressureNotAppliedWhenReducingRangeSize r=irfansharif a=irfansharif

This test relies on a second node's span config rangefeed to have caught
up sufficiently with the global state such that a snapshot, when
applied, would construct a replica with the config this test attempts to
declare over the originating replica. Though very unlikely to occur
(repro-ed only once in hours GCE worker runs), it's possible. This patch
is a speculative fix for a failure observed only with manual stressing
on a SHA that included #75233.

(Also make some prominent span config logging a bit more consistent with
one another.)

Release note: None

Co-authored-by: Oliver Tan <otan@cockroachlabs.com>
Co-authored-by: Marius Posta <marius@cockroachlabs.com>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
Co-authored-by: irfan sharif <irfanmahmoudsharif@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants