y42 / clj-druid

Eclipse Public License 1.0
31 stars 10 forks source link

Wrong Schema #3

Closed yogsototh closed 8 years ago

yogsototh commented 8 years ago

Apparently

"aggregator":{"type":"filtered","aggregator":
                          {"type":"longSum"
                          ,"name":"qualityRows"
                          ,"fieldName":"count"}
                    ,"filter":
                          {"type":"not"
                          ,"field":{"type":"selector","dimension":"quality","value":null}}

Is ok for druid but doesn't pass the cli-druid aggregation schema (clj-druid.schemas.aggregation). Or more precisely it try to use aggregator schema instead of filtered aggregator schema