What it does
- Translates SQL queries, views, and stored procedures from source to target dialect
- Verifies translations by running the translated SQL against the target database and comparing results
- Automatically detects and fixes translation errors in a feedback loop
- Generates PySpark scripts as an alternative output for stored procedures
Create a translation project
A translation project groups related translations under a single source and target data source pair.- Navigate to Translation in the left sidebar.
- Click New Project.
- Enter a Project Name.
- Select the Source Datasource — the database you are migrating from.
- Select the Target Datasource — the database you are migrating to.
- Click Create.
Add a translation
Once a project is created, add individual SQL objects to translate.- Open the translation project.
- Click New Translation.
- Select the Translation Type — SQL Query, View, or Stored Procedure.
- Paste or enter the source SQL.
- For stored procedures, choose the Output Format:
- Target SQL Script — Generates the equivalent stored procedure in the target dialect.
- PySpark Script — Generates a PySpark equivalent for platforms such as Databricks.
- Click Translate. The agent runs the translation and verification workflow.
Supported translation types
| Type | Description |
|---|---|
| SQL Query | Translates a SQL SELECT or DML statement to the target dialect. |
| View | Translates a view definition to the target dialect. |
| Stored Procedure | Translates a stored procedure. Choose between a target SQL script or a PySpark script as the output format. |