codeant-ai-for-open-source[bot] commented on PR #38858:
URL: https://github.com/apache/superset/pull/38858#issuecomment-4129831798

   ## **Sequence Diagram**
   
   This PR fixes cross-filtering when a table column is renamed through Custom 
SQL. The table now maps the displayed label back to the original column name 
before emitting the cross-filter, so receiving charts can apply the filter 
correctly.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant TransformProps
       participant TableChart
       participant FilterManager
       participant TargetChart
   
       User->>TransformProps: Save adhoc column with custom label
       TransformProps->>TransformProps: Build label to original name map
       TransformProps-->>TableChart: Pass map in chart props
       User->>TableChart: Click cell in renamed column
       TableChart->>FilterManager: Emit cross filter with original column name
       FilterManager->>TargetChart: Apply filter and refresh chart
   ```
   
   ---
   *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]

Reply via email to