From 0357dc2cd8b547589470b613b44744a095bac856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Tue, 4 Aug 2015 11:08:44 -0700 Subject: [PATCH] some docs were missing before, hopfully this is more clear --- docs/content/querying/aggregations.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/querying/aggregations.md b/docs/content/querying/aggregations.md index 4c487f4fda5..d6a029cfc9d 100644 --- a/docs/content/querying/aggregations.md +++ b/docs/content/querying/aggregations.md @@ -146,23 +146,23 @@ SELECT COUNT(*) FROM ( SELECT DIM1, DIM2, DIM3 FROM GROUP BY DIM1, **Example** -Determine the number of distinct categories items are assigned to. +Determine the number of distinct countries people are living in or have come from. ```json { "type": "cardinality", - "name": "distinct_values", - "fieldNames": [ "main_category", "secondary_category" ] + "name": "distinct_countries", + "fieldNames": [ "coutry_of_origin", "country_of_residence" ] } ``` -Determine the number of distinct are assigned to. +Determine the number of distinct people (i.e. combinations of first and last name). ```json { "type": "cardinality", - "name": "distinct_values", - "fieldNames": [ "", "secondary_category" ], + "name": "distinct_people", + "fieldNames": [ "first_name", "last_name" ], "byRow" : true } ```