Skip to content

sql: refactor unimplemented statements into one file pkg/sql/unimplem…#137795

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
Dedej-Bergin:refactor-unimplemented
Dec 19, 2024
Merged

sql: refactor unimplemented statements into one file pkg/sql/unimplem…#137795
craig[bot] merged 1 commit intocockroachdb:masterfrom
Dedej-Bergin:refactor-unimplemented

Conversation

@Dedej-Bergin
Copy link
Copy Markdown
Contributor

@Dedej-Bergin Dedej-Bergin commented Dec 19, 2024

…ented.go

Moved files with unimplemented stubs into just 1 file unimplemented.go. These unimplemented stubs work in DSC only and we will not implement them on the legacy schema changer.

Fixes: #137615
Release note: none

@Dedej-Bergin Dedej-Bergin requested a review from a team as a code owner December 19, 2024 20:06
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Dec 19, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

cockroach-teamcity commented Dec 19, 2024

CLA assistant check
All committers have signed the CLA.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@Dedej-Bergin Dedej-Bergin force-pushed the refactor-unimplemented branch 2 times, most recently from 613db3e to a902933 Compare December 19, 2024 20:22
@Dedej-Bergin
Copy link
Copy Markdown
Contributor Author

Wanted to point out that I removed telemetry.Inc(sqltelemetry.CreateDropOwnedByCounter()) from DropOwnedBy. This has me thinking if we should add telemetry to all our unimplemented legacy statements to let us know how much demand there is for explicit DDL transactions.

@Dedej-Bergin Dedej-Bergin force-pushed the refactor-unimplemented branch from a902933 to f05721f Compare December 19, 2024 20:39
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.

this lgtm! except the PR says Fixes: #45671, but that looks like the wrong link.

…ented.go

Moved files with unimplemented stubs into just 1 file unimplemented.go.
These unimplemented stubs work in DSC only and we will not implement
them on the legacy schema changer.

Fixes: cockroachdb#137615
Release note: none
@Dedej-Bergin Dedej-Bergin force-pushed the refactor-unimplemented branch from f05721f to 71fab67 Compare December 19, 2024 21:19
Copy link
Copy Markdown
Contributor Author

@Dedej-Bergin Dedej-Bergin left a comment

Choose a reason for hiding this comment

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

Thanks for the review! I accidentally put the jira issue number instead of the github one. Just updated it.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@Dedej-Bergin
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 19, 2024

@craig craig bot merged commit 44838c7 into cockroachdb:master Dec 19, 2024
@Dedej-Bergin Dedej-Bergin deleted the refactor-unimplemented branch December 19, 2024 21:56
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.

sql: refactor unimplemented statements into one file pkg/sql/unimplemented.go

3 participants