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

adding optional client payload #9465

Merged

Conversation

walterddr
Copy link
Contributor

currently Pinot java client doesn't support optional json payload. adding this as part of the client creation process.

@walterddr walterddr force-pushed the add_optional_json_payload_client branch from 35db343 to 667001c Compare September 29, 2022 16:44
@walterddr walterddr marked this pull request as ready for review September 29, 2022 21:17
@Nullable SslContext sslContext, ConnectionTimeouts connectionTimeouts, TlsProtocols tlsProtocols) {
_brokerReadTimeout = connectionTimeouts.getReadTimeoutMs();
_headers = headers;
_scheme = scheme;
_extraOptionStr = StringUtils.isEmpty(extraOptionStr) ? DEFAULT_EXTRA_QUERY_OPTION_STRING : extraOptionStr;
Copy link
Contributor

Choose a reason for hiding this comment

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

don't we ned to concat the DEFAULT with what user passed in to keep behavior same ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I thought about it and wasn't sure if this is a good idea since these 2 options have been in the deprecation process for a while. but good call out

Copy link
Contributor

Choose a reason for hiding this comment

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

Ohh yeah. Let's probably ignore then

@siddharthteotia siddharthteotia merged commit 03b9d4a into apache:master Sep 30, 2022
61yao pushed a commit to 61yao/pinot that referenced this pull request Oct 3, 2022
* adding optional client payload

* adding stable sort to make sure the result sets are not compared against random unstable sort value

Co-authored-by: Rong Rong <[email protected]>
@walterddr walterddr deleted the add_optional_json_payload_client branch December 6, 2023 16:15
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.

2 participants