测试发现warmup有时候并不能正确刷新,使用request无法触发刷新动作,改为selenium脚本发现可以了。但个别图表缺没有正确刷新,原因如下:
json_data= {"changed_on": 1600721166233.5068, "datasource": "1__table", "extra_cache_keys": [], "extras": {"druid_time_origin": "", "having": "", "having_druid": [], "time_grain_sqla": "P1D", "time_range_endpoints": ["inclusive", "exclusive"], "where": ""}, "filter": [{"col": "steps", "op": "==", "val": "\u4e3b\u89c2\u611f\u77e5\u6392\u5e8f"}, {"col": "investigation", "op": "in", "val": "\u52a8\u6548"}], "granularity": null, "groupby": ["model", "review_dimension"], "is_timeseries": null, "metrics": [{"aggregate": null, "column": null, "expressionType": "SQL", "fromFormData": true, "hasCustomLabel": false, "label": "AVG(score)", "optionName": "metric_v5v7z4abx2_dstib4oxk2f", "sqlExpression": "AVG(score)"}], "order_desc": true, "rls": [], "row_limit": 10000, "time_range": "No filter", "timeseries_limit": 0, "timeseries_limit_metric": null}
md5_sha= 021123bbb8d3ab5f714779d5742d16d4
json_data= {"changed_on": 1600721166233.5068, "datasource": "1__table", "extra_cache_keys": [], "extras": {"druid_time_origin": "", "having": "", "having_druid": [], "time_grain_sqla": null, "time_range_endpoints&