codeant-ai-for-open-source[bot] commented on PR #37396:
URL: https://github.com/apache/superset/pull/37396#issuecomment-4046456239
## **Sequence Diagram**
This PR adds a direct column label flow from backend query results to
frontend table rendering. Instead of separate display-name maps, the UI now
uses `collabels` aligned with `colnames` and renders friendly header text with
fallback to raw names.
```mermaid
sequenceDiagram
participant User
participant ExploreUI
participant QueryAPI
participant QueryEngine
participant DataTable
User->>ExploreUI: Open results or samples table
ExploreUI->>QueryAPI: Request query result data
QueryAPI->>QueryEngine: Execute query and build response metadata
QueryEngine-->>QueryAPI: Return rows with colnames collabels and coltypes
QueryAPI-->>ExploreUI: Send result payload including collabels
ExploreUI->>DataTable: Build table columns using collabels by index
DataTable-->>User: Show friendly header label with raw name tooltip
fallback
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
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]