mirror of https://github.com/apache/druid.git
Add documentation re alphabetical sorted of MV dimensions (#10695)
This commit is contained in:
parent
d73f72e508
commit
9be2a5cdc2
|
@ -479,6 +479,7 @@ Dimension objects can have the following components:
|
||||||
| type | Either `string`, `long`, `float`, or `double`. | `string` |
|
| type | Either `string`, `long`, `float`, or `double`. | `string` |
|
||||||
| name | The name of the dimension. This will be used as the field name to read from input records, as well as the column name stored in generated segments.<br><br>Note that you can use a [`transformSpec`](#transformspec) if you want to rename columns during ingestion time. | none (required) |
|
| name | The name of the dimension. This will be used as the field name to read from input records, as well as the column name stored in generated segments.<br><br>Note that you can use a [`transformSpec`](#transformspec) if you want to rename columns during ingestion time. | none (required) |
|
||||||
| createBitmapIndex | For `string` typed dimensions, whether or not bitmap indexes should be created for the column in generated segments. Creating a bitmap index requires more storage, but speeds up certain kinds of filtering (especially equality and prefix filtering). Only supported for `string` typed dimensions. | `true` |
|
| createBitmapIndex | For `string` typed dimensions, whether or not bitmap indexes should be created for the column in generated segments. Creating a bitmap index requires more storage, but speeds up certain kinds of filtering (especially equality and prefix filtering). Only supported for `string` typed dimensions. | `true` |
|
||||||
|
| multiValueHandling | Specify the type of handling for [multi-value fields](../querying/multi-value-dimensions.md). Possible values are `sorted_array`, `sorted_set`, and `array`. `sorted_array` and `sorted_set` order the array upon ingestion. `sorted_set` removes duplicates. `array` ingests data as-is | `sorted_array` |
|
||||||
|
|
||||||
#### Inclusions and exclusions
|
#### Inclusions and exclusions
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ title: "Multi-value dimensions"
|
||||||
|
|
||||||
Apache Druid supports "multi-value" string dimensions. These are generated when an input field contains an
|
Apache Druid supports "multi-value" string dimensions. These are generated when an input field contains an
|
||||||
array of values instead of a single value (e.g. JSON arrays, or a TSV field containing one or more `listDelimiter`
|
array of values instead of a single value (e.g. JSON arrays, or a TSV field containing one or more `listDelimiter`
|
||||||
characters).
|
characters). By default Druid ingests the values in alphabetical order, see [Dimension Objects](../ingestion/index.md#dimension-objects) for configuration.
|
||||||
|
|
||||||
This document describes the behavior of groupBy (topN has similar behavior) queries on multi-value dimensions when they
|
This document describes the behavior of groupBy (topN has similar behavior) queries on multi-value dimensions when they
|
||||||
are used as a dimension being grouped by. See the section on multi-value columns in
|
are used as a dimension being grouped by. See the section on multi-value columns in
|
||||||
|
|
|
@ -1880,3 +1880,4 @@ TiB
|
||||||
PiB
|
PiB
|
||||||
protobuf
|
protobuf
|
||||||
Golang
|
Golang
|
||||||
|
multiValueHandling
|
Loading…
Reference in New Issue