You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/08/23 23:57:44 UTC

[GitHub] [druid] techdocsmith commented on a change in pull request #11549: Docs: Clarify segmentMetadata cardinality, minmax, and size behavior.

techdocsmith commented on a change in pull request #11549:
URL: https://github.com/apache/druid/pull/11549#discussion_r694384889



##########
File path: docs/querying/segmentmetadataquery.md
##########
@@ -144,16 +144,27 @@ Types of column analyses are described below:
 
 ### cardinality
 
-* `cardinality` in the result will return the size of the bitmap index or dictionary encoding for string dimensions, or null for other dimension types.
- If `merge` was set, the result will be the max of this value across segments. Only relevant for dimension columns.
+* `cardinality` is the number of unique values present in string columns. It is null for other column types.
+
+This value is computed by examining the size of string column dictionaries. There is one dictionary per column per

Review comment:
       ```suggestion
   Druid examines the size of string column dictionaries to compute the cardinality value. There is one dictionary per column per
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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