From c5fcbc07097810ec3d562f314bc3d78491aabe44 Mon Sep 17 00:00:00 2001 From: x4base Date: Wed, 11 May 2016 00:21:09 +0800 Subject: [PATCH] Support hyperUniqueCardinality type in post aggregation (#451) --- caravel/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caravel/models.py b/caravel/models.py index 49f5584d173c6..099784e8eeb80 100644 --- a/caravel/models.py +++ b/caravel/models.py @@ -1069,7 +1069,7 @@ def recursive_get_fields(_conf): field_names = [] for _f in _fields: _type = _f.get('type') - if _type == 'fieldAccess': + if _type in ['fieldAccess', 'hyperUniqueCardinality']: field_names.append(_f.get('fieldName')) elif _type == 'arithmetic': field_names += recursive_get_fields(_f)