Add a static method TrinoEngineSpec.convert_dttm(target_type: str, dttm: datetime) -> Optional[str] in superset/db_engine_specs/trino.py. It must be case-insensitive to target_type and return: VARCHAR -> None; DATE -> from_iso8601_date('<YYYY-MM-DD>'); TIMESTAMP -> from_iso8601_timestamp('YYYY-MM-DDTHH:MM:SS.mmmmmm') with six-digit microseconds and no offset if naive; TIMESTAMP WITH TIME ZONE -> same as TIMESTAMP if naive, or with a ±HH:MM offset if tz-aware; raise ValueError for unknown types; callable as TrinoEngineSpec.convert_dttm(target_type, dttm).