Skip to content

Commit

Permalink
Docs on numerical sorting without bucketing (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kplatek authored May 29, 2024
1 parent 1d2be80 commit 54066a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/configuration-datacubes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand Down

0 comments on commit 54066a9

Please sign in to comment.