async fn query_trace_table(
ctx: QueryContextRef,
catalog_manager: &CatalogManagerRef,
query_engine: &QueryEngineRef,
selects: Vec<Expr>,
filters: Vec<Expr>,
limit: Option<usize>,
tags: Option<HashMap<String, Value>>,
distinct: bool,
) -> Result<Output>