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

   ## **Sequence Diagram**
   
   This PR fixes column type resolution when converting a table column into a 
SQLAlchemy column for query filters. It now uses the actual table column type, 
ensuring engine-specific SQLAlchemy types and literal processors are applied 
correctly.
   
   ```mermaid
   sequenceDiagram
       participant QueryLayer
       participant SqlaTable
       participant EngineSpec
       participant SQLAColumn
   
       QueryLayer->>SqlaTable: Convert table column for filter query
       SqlaTable->>EngineSpec: Get column spec using table column type
       EngineSpec-->>SqlaTable: Return mapped SQLA type
       SqlaTable->>SQLAColumn: Create literal or named column with that type
       SQLAColumn-->>QueryLayer: Typed column used to build filter SQL
   ```
   
   ---
   *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