-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Rename the default setting of 'maxSubqueryBytes' from 'unlimited' to 'disabled' #15108
Conversation
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.
Highlighted some doc changes. Rest LGTM!!
docs/configuration/index.md
Outdated
@@ -1871,6 +1871,11 @@ Note the following guardrails that can be set by the cluster admin to limit the | |||
|
|||
Note that limiting the subquery by bytes is a newer feature therefore it is experimental as it materializes the results differently. | |||
|
|||
'maxSubqueryBytes' can be configured to following values: |
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.
We should also document stuff in QueryContext.md#General parameters.
1. 'disabled' - It is the default setting out of the box. It disables the subquery's from the byte based limit, and effectively disables this feature. | ||
2. 'auto' - Druid automatically decides the optimal byte based limit based upon the heap space available and the max number of concurrent queries. | ||
3. A postive long value - User can manually specify the number of bytes that the results of the subquerys of a single query can occupy on the heap. | ||
|
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.
Please mention the side effects as well that in terms of when the performance starts degrading.
…'disabled' (apache#15108) The default setting of 'maxSubqueryBytes' is renamed from 'unlimited' to 'disabled'.
…'disabled' (apache#15108) The default setting of 'maxSubqueryBytes' is renamed from 'unlimited' to 'disabled'.
Description
This PR renames the value of the default setting of 'maxSubqueryBytes' from 'unlimited' to 'disabled' since the latter is more depictive of what happens.
Release note
The default setting of 'maxSubqueryBytes' is renamed from 'unlimited' to 'disabled'.
When the user sets 'maxSubqueryBytes'='disabled`, the guard rail around subQuery row bytes is not applied.
Key changed/added classes in this PR
This PR has: