You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/querying/query-context-reference.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,8 @@ Unless otherwise noted, the following parameters apply to all query types, and t
71
71
|`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. |
72
72
|`sqlPlannerBloat`|`1000`|Calcite parameter which controls whether to merge two Project operators when inlining expressions causes complexity to increase. Implemented as a workaround to exception `There are not enough rules to produce a node with desired properties: convention=DRUID, sort=[]` thrown after rejecting the merge of two projects.|
73
73
|`cloneQueryMode`|`excludeClones`| Indicates whether clone Historicals should be queried by brokers. Clone servers are created by the `cloneServers` Coordinator dynamic configuration. Possible values are `excludeClones`, `includeClones` and `preferClones`. `excludeClones` means that clone Historicals are not queried by the broker. `preferClones` indicates that when given a choice between the clone Historical and the original Historical which is being cloned, the broker chooses the clones. Historicals which are not involved in the cloning process will still be queried. `includeClones` means that broker queries any Historical without regarding clone status. This parameter only affects native queries. MSQ does not query Historicals directly.|
74
-
|`realtimeSegmentsOnly`|`false`| When set to true, only query realtime segments. Historical segments are excluded. |
74
+
|`realtimeSegmentsMode`|`include`| Controls which segment types are queried. `include` queries both realtime and historical segments. `exclusive` queries only realtime segments (historical segments are excluded). `exclude` queries only historical segments (realtime segments are excluded). |
75
+
|`realtimeSegmentsOnly`|`false`|**Deprecated.** Use `realtimeSegmentsMode=exclusive` instead. When set to `true`, only realtime segments are queried; equivalent to `realtimeSegmentsMode=exclusive`. |
0 commit comments