Translation pipeline
The query becomes an AST, then an engine-neutral SqlNode, then transformers rename or replace nodes. The target side produces an engine-specific node and unparses it with the Spark dialect. Multi-query payloads keep context from earlier queries.