You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by la...@apache.org on 2023/07/17 09:23:44 UTC

[druid] branch master updated: Remove the deprecated `InsertCannotOrderByDescending` MSQ fault (#14588)

This is an automated email from the ASF dual-hosted git repository.

lakshsingla pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f6507dd60 Remove the deprecated `InsertCannotOrderByDescending` MSQ fault (#14588)
1f6507dd60 is described below

commit 1f6507dd604da089fdb1a0b66f4b7eed06cc9672
Author: Abhishek Radhakrishnan <ab...@gmail.com>
AuthorDate: Mon Jul 17 02:23:39 2023 -0700

    Remove the deprecated `InsertCannotOrderByDescending` MSQ fault (#14588)
    
    The deprecated MSQ fault, InsertCannotOrderByDescending, is removed.
---
 docs/multi-stage-query/reference.md | 4 ++--
 website/.spelling                   | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/docs/multi-stage-query/reference.md b/docs/multi-stage-query/reference.md
index 08335ff114..fe86ccad50 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 <column list>` 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
 | <a name="error_WorkerFailed">`WorkerFailed`</a> | A worker task failed unexpectedly. | `errorMsg`<br /><br />`workerTaskId`: The ID of the worker task. |
 | <a name="error_WorkerRpcFailed">`WorkerRpcFailed`</a> | A remote procedure call to a worker task failed and could not recover. | `workerTaskId`: the id of the worker task |
 | <a name="error_UnknownError">`UnknownError`</a> | All other errors. | `message` |
-| <a name="error_InsertCannotOrderByDescending">`InsertCannotOrderByDescending`</a> | 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 be6441fd7c..7674ad0e6d 100644
--- a/website/.spelling
+++ b/website/.spelling
@@ -713,7 +713,6 @@ DurableStorageConfiguration
 ColumnTypeNotSupported
 InsertCannotAllocateSegment
 InsertCannotBeEmpty
-InsertCannotOrderByDescending
 InsertCannotReplaceExistingSegment
 InsertLockPreempted
 InsertTimeNull


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org