superset/tests
Brian Wolfe 1e325d9645 [druid] Allow custom druid postaggregators (#3146)
* [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
2017-07-28 11:45:59 -07:00
..
__init__.py Forgot to add some files for unit tests 2015-09-26 15:56:08 -07:00
access_tests.py Refactoring Druid & SQLa into a proper "Connector" interface (#2362) 2017-03-10 09:11:51 -08:00
base_tests.py chore: remove unused methods with invalid models.Query usage (#2721) 2017-05-06 21:23:17 -07:00
celery_tests.py [sql lab] allow users to save their queries (#2528) 2017-04-04 20:15:19 -07:00
core_tests.py Fixes #3134 by correct response content-type of /testconn (#3135) 2017-07-15 09:52:37 -07:00
db_engine_specs_test.py [sqllab] improve Hive support (#3187) 2017-07-27 14:00:19 -07:00
druid_tests.py [druid] Allow custom druid postaggregators (#3146) 2017-07-28 11:45:59 -07:00
email_tests.py Some code refactoring (#2139) 2017-02-08 11:52:58 -08:00
import_export_tests.py Refactoring Druid & SQLa into a proper "Connector" interface (#2362) 2017-03-10 09:11:51 -08:00
model_tests.py Setting adjust_database_uri for HiveEngineSpec (#2636) 2017-04-18 12:29:13 -07:00
security_tests.py Speeding up polling by not checking access (#2466) 2017-03-23 22:46:25 -07:00
sql_parse_tests.py Implement table name extraction. (#1598) 2016-11-29 15:43:36 -05:00
sqllab_tests.py [sqllab] improve Hive support (#3187) 2017-07-27 14:00:19 -07:00
superset_test_config.py Stabilizing Celery / SQL Lab (#2981) 2017-06-20 13:55:03 -07:00
utils_tests.py Alternative PR for: Some bytes/str issues in py3 w/ zlib and json (#2558) 2017-04-06 09:42:43 -07:00