abhishekagarwal87 commented on code in PR #13707:
URL: https://github.com/apache/druid/pull/13707#discussion_r1086246840


##########
docs/querying/query-context.md:
##########
@@ -65,6 +65,7 @@ Unless otherwise noted, the following parameters apply to all 
query types.
 |`setProcessingThreadNames`|`true`| Whether processing thread names will be 
set to `queryType_dataSource_intervals` while processing a query. This aids in 
interpreting thread dumps, and is on by default. Query overhead can be reduced 
slightly by setting this to `false`. This has a tiny effect in most scenarios, 
but can be meaningful in high-QPS, low-per-segment-processing-time scenarios. |
 |`maxNumericInFilters`|`-1`|Max limit for the amount of numeric values that 
can be compared for a string type dimension when the entire SQL WHERE clause of 
a query translates only to an [OR](../querying/filters.md#or) of [Bound 
filter](../querying/filters.md#bound-filter). By default, Druid does not 
restrict the amount of of numeric Bound Filters on String columns, although 
this situation may block other queries from running. Set this parameter to a 
smaller value to prevent Druid from running queries that have prohibitively 
long segment processing times. The optimal limit requires some trial and error; 
we recommend starting with 100.  Users who submit a query that exceeds the 
limit of `maxNumericInFilters` should instead rewrite their queries to use 
strings in the `WHERE` clause instead of numbers. For example, `WHERE 
someString IN (‘123’, ‘456’)`. This value cannot exceed the set system 
configuration `druid.sql.planner.maxNumericInFilters`. This value is ignored if 
`druid.s
 ql.planner.maxNumericInFilters` is not set explicitly.|
 |`inSubQueryThreshold`|`2147483647`| Threshold for minimum number of values in 
an IN clause to convert the query to a JOIN operation on an inlined table 
rather than a predicate. A threshold of 0 forces usage of an inline table in 
all cases; a threshold of [Integer.MAX_VALUE] forces usage of OR in all cases. |
+|`maxInputBytesPerWorker`|`10737418240`| Maximum number of input bytes per 
worker, used when assigning input slices to tasks. Used only in case number of 
tasks is determined automatically. |

Review Comment:
   We should also add that default is 10 GB. Raw number is a bit hard to read. 



##########
docs/querying/query-context.md:
##########
@@ -65,6 +65,7 @@ Unless otherwise noted, the following parameters apply to all 
query types.
 |`setProcessingThreadNames`|`true`| Whether processing thread names will be 
set to `queryType_dataSource_intervals` while processing a query. This aids in 
interpreting thread dumps, and is on by default. Query overhead can be reduced 
slightly by setting this to `false`. This has a tiny effect in most scenarios, 
but can be meaningful in high-QPS, low-per-segment-processing-time scenarios. |
 |`maxNumericInFilters`|`-1`|Max limit for the amount of numeric values that 
can be compared for a string type dimension when the entire SQL WHERE clause of 
a query translates only to an [OR](../querying/filters.md#or) of [Bound 
filter](../querying/filters.md#bound-filter). By default, Druid does not 
restrict the amount of of numeric Bound Filters on String columns, although 
this situation may block other queries from running. Set this parameter to a 
smaller value to prevent Druid from running queries that have prohibitively 
long segment processing times. The optimal limit requires some trial and error; 
we recommend starting with 100.  Users who submit a query that exceeds the 
limit of `maxNumericInFilters` should instead rewrite their queries to use 
strings in the `WHERE` clause instead of numbers. For example, `WHERE 
someString IN (‘123’, ‘456’)`. This value cannot exceed the set system 
configuration `druid.sql.planner.maxNumericInFilters`. This value is ignored if 
`druid.s
 ql.planner.maxNumericInFilters` is not set explicitly.|
 |`inSubQueryThreshold`|`2147483647`| Threshold for minimum number of values in 
an IN clause to convert the query to a JOIN operation on an inlined table 
rather than a predicate. A threshold of 0 forces usage of an inline table in 
all cases; a threshold of [Integer.MAX_VALUE] forces usage of OR in all cases. |
+|`maxInputBytesPerWorker`|`10737418240`| Maximum number of input bytes per 
worker, used when assigning input slices to tasks. Used only in case number of 
tasks is determined automatically. |

Review Comment:
   we should clarify that it only applies to MSQ. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to