diff --git a/docs/querying/sql-data-types.md b/docs/querying/sql-data-types.md index 66a5b0d5be9f..bca45c699c6e 100644 --- a/docs/querying/sql-data-types.md +++ b/docs/querying/sql-data-types.md @@ -79,7 +79,7 @@ When `druid.generic.useDefaultValueForNull = true` (legacy mode), Druid instead Druid supports [`ARRAY` types](arrays.md), which behave as standard SQL arrays, where results are grouped by matching entire arrays. The [`UNNEST` operator](./sql-array-functions.md#unn) can be used to perform operations on individual array elements, translating each element into a separate row. -`ARRAY` typed columns can be stored in segments with class JSON based ingestion using the 'auto' typed dimension schema shared with [schema auto-discovery](../ingestion/schema-design.md#schema-auto-discovery-for-dimensions) to detect and ingest arrays as ARRAY typed columns. For [SQL based ingestion](../multi-stage-query/index.md), the query context parameter `arrayIngestMode` must be specified as `"array"` to ingest ARRAY types. In Druid 28, the default mode for this parameter is `"mvd"` for backwards compatibility, which instead can only handle `ARRAY` which it stores in [multi-value string columns](#multi-value-strings). +`ARRAY` typed columns can be stored in segments with JSON based ingestion using the 'auto' typed dimension schema shared with [schema auto-discovery](../ingestion/schema-design.md#schema-auto-discovery-for-dimensions) to detect and ingest arrays as ARRAY typed columns. For [SQL based ingestion](../multi-stage-query/index.md), the query context parameter `arrayIngestMode` must be specified as `"array"` to ingest ARRAY types. In Druid 28, the default mode for this parameter is `"mvd"` for backwards compatibility, which instead can only handle `ARRAY` which it stores in [multi-value string columns](#multi-value-strings). You can convert multi-value dimensions to standard SQL arrays explicitly with `MV_TO_ARRAY` or implicitly using [array functions](./sql-array-functions.md). You can also use the array functions to construct arrays from multiple columns. diff --git a/docs/querying/sql-functions.md b/docs/querying/sql-functions.md index 467e79b64384..8e43076518db 100644 --- a/docs/querying/sql-functions.md +++ b/docs/querying/sql-functions.md @@ -114,7 +114,7 @@ Computes approximate quantiles on fixed buckets histogram column or a regular nu `ARRAY[expr1, expr2, ...]` -**Function type:** [Multi-value string](sql-multivalue-string-functions.md) +**Function type:** [Array](sql-array-functions.md) Constructs a SQL ARRAY literal from the expression arguments. The arguments must be of the same type.