-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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: swap JDBC page.timeout and query.timeout properties in query requests #79491
Conversation
e402ce8
to
69fdb4b
Compare
Pinging @elastic/es-ql (Team:QL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -23,8 +23,8 @@ RequestMeta queryTimeout(long timeout) { | |||
return this; | |||
} | |||
|
|||
RequestMeta timeout(long timeout) { | |||
this.timeoutInMs = timeout; | |||
RequestMeta pageTimeout(long timeout) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this method used anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not, I thought I could keep it for consistency though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…uests (elastic#79491) * SQL: swap JDBC page.timeout and query.timeout properties in query requests resolves elastic#79430 * rm reference to elastic#79480 from spec
💔 Backport failed
You can use sqren/backport to manually backport by running |
…uests (elastic#79491) * SQL: swap JDBC page.timeout and query.timeout properties in query requests resolves elastic#79430 * rm reference to elastic#79480 from spec # Conflicts: # x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcHttpClient.java # x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationDataSourceTests.java
…ery requests (#79491) (#81878) * SQL: swap JDBC page.timeout and query.timeout properties in query requests (#79491) * SQL: swap JDBC page.timeout and query.timeout properties in query requests resolves #79430 * rm reference to #79480 from spec # Conflicts: # x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/JdbcHttpClient.java # x-pack/plugin/sql/jdbc/src/test/java/org/elasticsearch/xpack/sql/jdbc/JdbcConfigurationDataSourceTests.java * fix backport * fix formatting
resolves #79430
This PR makes sure that the configuration parameters are passed correctly into the query request.