fix redirect for api docs and misc array-related typos (#15387)

Co-authored-by: 317brian <53799971+317brian@users.noreply.github.com>
This commit is contained in:
Charles Smith 2023-11-16 13:29:19 -08:00 committed by GitHub
parent cdc192d38d
commit 6a5da5a05e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View File

@ -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<STRING>` 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<STRING>` 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.

View File

@ -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.

View File

@ -309,7 +309,12 @@ const Redirects=[
{
"from": "/docs/latest/operations/api-reference.html",
"to": "/docs/latest/api-reference/"
}
},
{
"from": "/docs/latest/operations/api-reference/",
"to": "/docs/latest/api-reference/"
},
]