Skip to content

Commit

Permalink
Support hyperUniqueCardinality type in post aggregation (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
x4base authored and mistercrunch committed May 10, 2016
1 parent 2f64c42 commit c5fcbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c5fcbc0

Please sign in to comment.