techdocsmith commented on a change in pull request #10695:
URL: https://github.com/apache/druid/pull/10695#discussion_r547000384
##########
File path: docs/ingestion/index.md
##########
@@ -480,6 +480,7 @@ Dimension objects can have the following components:
| 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) |
| 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 multi-value fields will
get, possible values are `SORTED_ARRAY`, `SORTED_SET` and `ARRAY`. The first
two will order the array upon ingestion and `SORTED_SET` will remove
duplicates. `ARRAY` will ingest data as-is | `SORTED_ARRAY` |
Review comment:
```suggestion
| multiValueHandling | Specify the type of handling for multi-value fields.
Possible values are `SORTED_ARRAY`, `SORTED_SET`, and `ARRAY`. `SORTED_ARRAY`
and `SORTED_SET` order the array upon ingestion and `SORTED_SET` removes
duplicates. `ARRAY` ingests data as-is | `SORTED_ARRAY` |
```
##########
File path: docs/querying/multi-value-dimensions.md
##########
@@ -25,7 +25,7 @@ title: "Multi-value dimensions"
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`
-characters).
+characters), by default they are sorted alphabetically, see [Dimension
Objects](../ingestion/index.html#dimension-objects) for configuration.
Review comment:
```suggestion
characters), by default Druid lists the values in alphabetical order, see
[Dimension Objects](../ingestion/index.md#dimension-objects) for configuration.
```
Please use `.md` for links. Also, it's not clear to me what the related
information is at the destination. But I'm a still fairly new to Druid.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]