* [druid] Allow custom druid postaggregators Also, fix the postaggregation for approxHistogram quantiles so it adds the dependent field and that can show up in the graphs/tables. In general, postAggregators add significant power, we should probably support including custom postAggregators. Plywood has standard postAggregators here, and a customAggregator escape hatch that allows you to define custom postAggregators. This commit adds a similar capability for Superset and a additional field/fields/fieldName breakdown of the typical naming for dependent aggregations, which should make it significantly easier to develop approxHistogram and custom postAggregation-required dashboards. * [druid] Minor style cleanup in tests file. * [druid] Apply code review suggestions * break out CustomPostAggregator into separate class. This just cleans up the creation of the postaggregator a little bit. * minor style issues. * move the function around so the git diff is more readable |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| access_tests.py | ||
| base_tests.py | ||
| celery_tests.py | ||
| core_tests.py | ||
| db_engine_specs_test.py | ||
| druid_tests.py | ||
| email_tests.py | ||
| import_export_tests.py | ||
| model_tests.py | ||
| security_tests.py | ||
| sql_parse_tests.py | ||
| sqllab_tests.py | ||
| superset_test_config.py | ||
| utils_tests.py | ||