Skip to content

Add back 'numRowsResultSet' to BrokerResponse, and retain it when result table is hidden#13198

Merged
Jackie-Jiang merged 1 commit intoapache:masterfrom
Jackie-Jiang:broker_response_fix
May 21, 2024
Merged

Add back 'numRowsResultSet' to BrokerResponse, and retain it when result table is hidden#13198
Jackie-Jiang merged 1 commit intoapache:masterfrom
Jackie-Jiang:broker_response_fix

Conversation

@Jackie-Jiang
Copy link
Contributor

This field was removed in #13179


@Override
public int getNumRowsResultSet() {
return _numRowsResultSet;
Copy link
Contributor

Choose a reason for hiding this comment

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

add setNumRowsResultSet() as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't add it intentionally because we want to always set it along with the result table

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it for V1 response for JSON ser/de purpose, which is not supported in V2 response as of now

@Jackie-Jiang Jackie-Jiang merged commit 7aa9aeb into apache:master May 21, 2024
@Jackie-Jiang Jackie-Jiang deleted the broker_response_fix branch May 21, 2024 21:02
gortiz pushed a commit to gortiz/pinot that referenced this pull request Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants