pub fn build_trace_table_data(spans: &[TraceSpan]) -> Result<TableData>
Builds the row-oriented payload for the main v1 trace table.