Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql/schemachanger: downgrade log warning when statement is not supported #95151

Merged

Conversation

ajwerner
Copy link
Contributor

Prior to this change, we'd log a warning with a scary file path when building any opaque statement which is not supported by the declarative schema changer:

I230112 15:56:38.184048 1797 sql/schemachanger/scbuild/build.go:39 ⋮ [n1,client=127.0.0.1:50565,user=root] 86  building declarative schema change targets for EXPERIMENTAL CHANGEFEED
W230112 15:56:38.184280 1797 runtime/panic.go:884 ⋮ [n1,client=127.0.0.1:50565,user=root] 87  failed building declarative schema change targets for EXPERIMENTAL CHANGEFEED with error: ‹*tree.CreateChangefeed not implemented in the new schema changer›

Epic: None

Relates to #95053

Release note: None

Prior to this change, we'd log a warning with a scary file path when building
any opaque statement which is not supported by the declarative schema changer:

```
I230112 15:56:38.184048 1797 sql/schemachanger/scbuild/build.go:39 ⋮ [n1,client=127.0.0.1:50565,user=root] 86  building declarative schema change targets for EXPERIMENTAL CHANGEFEED
W230112 15:56:38.184280 1797 runtime/panic.go:884 ⋮ [n1,client=127.0.0.1:50565,user=root] 87  failed building declarative schema change targets for EXPERIMENTAL CHANGEFEED with error: ‹*tree.CreateChangefeed not implemented in the new schema changer›
```

Epic: None

Relates to cockroachdb#95053

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner ajwerner marked this pull request as ready for review January 12, 2023 17:08
@ajwerner ajwerner requested a review from a team January 12, 2023 17:08
@ajwerner
Copy link
Contributor Author

TFTR!

@ajwerner ajwerner merged commit 53f29d4 into cockroachdb:master Jan 12, 2023
@ajwerner
Copy link
Contributor Author

blathers backport 22.2

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