diff --git a/docs/multi-stage-query/reference.md b/docs/multi-stage-query/reference.md index 08335ff1143f..fe86ccad5058 100644 --- a/docs/multi-stage-query/reference.md +++ b/docs/multi-stage-query/reference.md @@ -203,7 +203,8 @@ For more information about partitioning, see [Partitioning](concepts.md#partitio ### `CLUSTERED BY` The `CLUSTERED BY ` clause is optional for [INSERT](#insert) and [REPLACE](#replace). It accepts a list of -column names or expressions. +column names or expressions. Druid's segment generation only supports ascending order, so an `INSERT` or `REPLACE` query with +`CLUSTERED BY` columns in `DESC` ordering is not allowed. For more information about clustering, see [Clustering](concepts.md#clustering). @@ -454,4 +455,3 @@ The following table describes error codes you may encounter in the `multiStageQu | `WorkerFailed` | A worker task failed unexpectedly. | `errorMsg`

`workerTaskId`: The ID of the worker task. | | `WorkerRpcFailed` | A remote procedure call to a worker task failed and could not recover. | `workerTaskId`: the id of the worker task | | `UnknownError` | All other errors. | `message` | -| `InsertCannotOrderByDescending` | Deprecated. An INSERT query contained a `CLUSTERED BY` expression in descending order. Druid's segment generation code only supports ascending order. The query returns a `ValidationException` instead of the fault. | `columnName` | diff --git a/website/.spelling b/website/.spelling index be6441fd7c65..7674ad0e6ded 100644 --- a/website/.spelling +++ b/website/.spelling @@ -713,7 +713,6 @@ DurableStorageConfiguration ColumnTypeNotSupported InsertCannotAllocateSegment InsertCannotBeEmpty -InsertCannotOrderByDescending InsertCannotReplaceExistingSegment InsertLockPreempted InsertTimeNull