druid/docs/querying
Gian Merlino 875e0696e0
GroupBy: Cap dictionary-building selector memory usage. (#12309)
* GroupBy: Cap dictionary-building selector memory usage.

New context parameter "maxSelectorDictionarySize" controls when the
per-segment processing code should return early and trigger a trip
to the merge buffer.

Includes:

- Vectorized and nonvectorized implementations.
- Adjustments to GroupByQueryRunnerTest to exercise this code in
  the v2SmallDictionary suite. (Both the selector dictionary and
  the merging dictionary will be small in that suite.)
- Tests for the new config parameter.

* Fix issues from tests.

* Add "pre-existing" to dictionary.

* Simplify GroupByColumnSelectorStrategy interface by removing one of the writeToKeyBuffer methods.

* Adjustments from review comments.
2022-03-08 13:13:11 -08:00
..
aggregations.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
caching.md add single input string expression dimension vector selector and better expression planning (#11213) 2021-07-06 11:20:49 -07:00
datasource.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
datasourcemetadataquery.md Refresh query docs. (#9704) 2020-04-15 16:12:20 -07:00
dimensionspecs.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
filters.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
granularities.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
groupbyquery.md GroupBy: Cap dictionary-building selector memory usage. (#12309) 2022-03-08 13:13:11 -08:00
having.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
hll-old.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
joins.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
limitspec.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
lookups.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
multi-value-dimensions.md Adding new config for disabling group by on multiValue column (#12253) 2022-02-16 20:53:26 +05:30
multitenancy.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
post-aggregations.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
query-context.md Moving in filter check to broker (#12195) 2022-02-15 20:45:07 -08:00
query-execution.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
querying.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
scan-query.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
searchquery.md fix desc of 'required' for granularity property (#10616) 2020-12-01 18:29:51 -08:00
segmentmetadataquery.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
select-query.md Add "offset" parameter to the Scan query. (#10233) 2020-08-13 14:56:24 -07:00
sorting-orders.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-aggregations.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-api.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-connection-context.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-data-types.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-jdbc.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-metadata-tables.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-multivalue-string-functions.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-operators.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-scalar.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-syntax.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql-translation.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
sql.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
timeboundaryquery.md Refresh query docs. (#9704) 2020-04-15 16:12:20 -07:00
timeseriesquery.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
topnmetricspec.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
topnquery.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
troubleshooting.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
using-caching.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00
virtual-columns.md Refactor SQL docs (#12239) 2022-02-11 14:43:30 -08:00