DataBrewery / cubes

[NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis
http://cubes.databrewery.org
Other
1.49k stars 313 forks source link

When creating aggregates if name is the same as the measure itself a Duplicate key error is raised. #472

Closed KhaledTo closed 5 years ago

KhaledTo commented 5 years ago

Why can't I do this (same value for two different keys)?

 {
    "name": "duration",        
    "function": "count",  
    "measure": "duration"  
}
KhaledTo commented 5 years ago

My bad, I actually had the same key in measures and aggregates.