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: fix some error codes and messages for udfs #108224

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

rharding6373
Copy link
Collaborator

This commit fixes some incorrect error codes and error messages in UDF logic tests that were uncovered as part of auditing pg error codes against postgres. In some cases where there were discrepancies between postgres and CRDB that were due to implementation differences or improved behavior, we left a comment above the test detailing why there is a difference between postgres and CRDB behavior.

Epic: None
Informs: #107369

Release note: None

@rharding6373 rharding6373 requested review from a team as code owners August 4, 2023 22:11
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@mgartner mgartner left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 11 of 11 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @DrewKimball)

Copy link
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 11 of 11 files at r1, all commit messages.
Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained (waiting on @rharding6373)

This commit fixes some incorrect error codes and error messages in UDF
logic tests that were uncovered as part of auditing pg error codes
against postgres. In some cases where there were discrepancies between
postgres and CRDB that were due to implementation differences or
improved behavior, we left a comment above the test detailing why there
is a difference between postgres and CRDB behavior.

Epic: None
Informs: cockroachdb#107369

Release note: None
@rharding6373 rharding6373 force-pushed the 20230804_pgerrcode_107369 branch from 60f6bf4 to ef0bc41 Compare August 7, 2023 20:18
@rharding6373
Copy link
Collaborator Author

TFTRs!

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 7, 2023

Build succeeded:

@craig craig bot merged commit eca28d9 into cockroachdb:master Aug 7, 2023
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.

4 participants