Skip to content

Unmark updateCount as nullable in QueryResults#27992

Merged
wendigo merged 1 commit intotrinodb:masterfrom
wendigo:user/serafin/followup-query-results
Jan 23, 2026
Merged

Unmark updateCount as nullable in QueryResults#27992
wendigo merged 1 commit intotrinodb:masterfrom
wendigo:user/serafin/followup-query-results

Conversation

@wendigo
Copy link
Copy Markdown
Contributor

@wendigo wendigo commented Jan 23, 2026

Since it was refactored to be an OptionalInt, it's required in the constructor to be non-null so it never actually is and annotation is no longer correct.

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

Since it was refactored to be an OptionalInt, it's required in the constructor
to be non-null so it never actually is and annotation is no longer correct.
@wendigo wendigo marked this pull request as ready for review January 23, 2026 13:51
@cla-bot cla-bot bot added the cla-signed label Jan 23, 2026
@wendigo wendigo requested a review from findepi January 23, 2026 13:51
@wendigo wendigo mentioned this pull request Jan 23, 2026
return updateType;
}

@Nullable
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i wish there was a static check for that

@wendigo wendigo merged commit d828ada into trinodb:master Jan 23, 2026
100 checks passed
@github-actions github-actions bot added this to the 480 milestone Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants