codeant-ai-for-open-source[bot] commented on PR #26467:
URL: https://github.com/apache/superset/pull/26467#issuecomment-4084249886
## **Sequence Diagram**
This PR makes Presto datetime conversion use millisecond precision when
building SQL timestamp literals. The flow now applies Presto specific
formatting directly in PrestoEngineSpec, including timezone offsets when
present.
```mermaid
sequenceDiagram
participant QueryBuilder
participant PrestoEngineSpec
participant Presto
QueryBuilder->>PrestoEngineSpec: Convert datetime for target column type
PrestoEngineSpec->>PrestoEngineSpec: Resolve SQL type and choose literal
format
PrestoEngineSpec-->>QueryBuilder: Return DATE or TIMESTAMP literal
Note over PrestoEngineSpec,QueryBuilder: TIMESTAMP uses milliseconds
precision with optional timezone offset
QueryBuilder->>Presto: Execute SQL with formatted literal
```
---
*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]