async fn retrieve_series_from_query_result(
result: Result<Output>,
series: &mut Vec<HashMap<String, String>>,
query_ctx: &QueryContext,
table_name: &str,
manager: &CatalogManagerRef,
metrics: &mut HashMap<String, u64>,
) -> Result<()>