From 54066a9d614ae5053b90310411eee834a56e5cc0 Mon Sep 17 00:00:00 2001 From: a-kplatek <135609587+a-kplatek@users.noreply.github.com> Date: Wed, 29 May 2024 09:22:05 +0200 Subject: [PATCH] Docs on numerical sorting without bucketing (#1100) --- docs/configuration-datacubes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/configuration-datacubes.md b/docs/configuration-datacubes.md index 096bd23b1..e663edab4 100644 --- a/docs/configuration-datacubes.md +++ b/docs/configuration-datacubes.md @@ -194,6 +194,8 @@ Specify whether the dimension should be bucketed by default. If unspecified defa Specify a specific sort strategy for this dimension in visualizations. If unspecified defaults to best sort strategy based on the visualization. +String dimension is sorted lexicographically, if an underlying Druid column is of a string type as well. However, if the Druid column type is long, it is sorted numerically in Turnilo - even for string dimensions (they should be castable to numeric ones). This is helpful, if you do not want value bucketing (which is turned on for numeric dimensions) and numerical sorting. + **kind** ("string" \| "boolean" \| "number" \| "time") Specify kind of data inside dimension. It defaults to "string".