tuoluzhe8521 commented on issue #31638:
URL: https://github.com/apache/superset/issues/31638#issuecomment-2564407750

   @dosu This is the front-end request parameter : 
{"datasource":{"id":17,"type":"table"},"force":false,"queries":[{"filters":[{"col":"channel","op":"IN","val":["gdt","kuaishou","toutiao","xhs"]}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["hour"],"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"channel","description":null,"expression":null,"filterable":true,"groupby":true,"id":369,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"STRING","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":false,"label":"COUNT_DISTINCT(channel)","optionName":"metric_h6kqwm5nj0s_njfwix95tz","sqlExpression":null}],"orderby":[["user_cnt",false]],"annotation_layers":[],"row_limit":1000,"series_limit":0,"series_limit_metric":"user_cnt","order_desc":true,"url_params":{"datasource_id":"17","d
 
atasource_type":"table","form_data_key":"ex5HALrXZfoi4jUSWZ5cjF8t-WRmQvdGFeAfNDPCW1zdIJaBZft69Ufp0fieMdzH"},"custom_params":{},"custom_form_data":{},"post_processing":[],"time_offsets":[]}],"form_data":{"datasource":"17__table","viz_type":"table","url_params":{"datasource_id":"17","datasource_type":"table","form_data_key":"ex5HALrXZfoi4jUSWZ5cjF8t-WRmQvdGFeAfNDPCW1zdIJaBZft69Ufp0fieMdzH"},"query_mode":"aggregate","groupby":["hour"],"temporal_columns_lookup":{},"metrics":[{"aggregate":"COUNT_DISTINCT","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"channel","description":null,"expression":null,"filterable":true,"groupby":true,"id":369,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"STRING","type_generic":1,"verbose_name":null,"warning_markdown":null},"datasourceWarning":false,"expressionType":"SIMPLE","hasCustomLabel":false,"label":"COUNT_DISTINCT(channel)","optionName":"metric_h6kqwm5nj0s_njfwix95tz","sqlExpr
 
ession":null}],"all_columns":["os"],"percent_metrics":[],"adhoc_filters":[{"clause":"WHERE","comparator":["gdt","kuaishou","toutiao","xhs"],"datasourceWarning":false,"expressionType":"SIMPLE","filterOptionName":"filter_sz5jsn5uasc_5k0xvmr622q","isExtra":false,"isNew":false,"operator":"IN","operatorId":"IN","sqlExpression":null,"subject":"channel"}],"timeseries_limit_metric":"user_cnt","order_by_cols":[],"row_limit":1000,"order_desc":true,"table_timestamp_format":"smart_date","allow_render_html":true,"show_cell_bars":true,"color_pn":true,"comparison_color_scheme":"Green","comparison_type":"values","extra_form_data":{},"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to