---
title: What is Genie Migrate?
description: Genie Migrate is the Databricks migration tool that assesses and converts SQL from Teradata, Oracle, Snowflake, SQL Server, and more.
canonical_url: https://docs.databricks.com/gcp/en/migration/genie-migrate/
---

# What is Genie Migrate?

Genie Migrate is the Databricks tool for migrating workloads from existing data warehouses and extract, transform, and load (ETL) tools to Databricks. Built on Genie Code, the Databricks AI coding agent, it converts SQL and ETL code from other platforms into Databricks SQL queries or Databricks notebooks that your team can review and run.

You manage each migration in a migration project in your workspace. Genie Migrate helps you assess your source system, converts related files together, checks and corrects its output, and shows the original and converted code side by side for your team to approve.

![Diagram of the four stages of a migration, orchestrated by Genie Code: assessment of legacy source systems, conversion of SQL and ETL code, data migration with LFC, and data validation with row counts and data diffs.](https://docs.databricks.com/gcp/en/images/migration/genie-migrate-stages.png)

## <a id="migration-steps" />Stages of a Genie Migrate migration

A migration from another data platform has four stages: assessment, conversion, data migration, and data validation. Genie Migrate covers the assessment, conversion, and data validation (Beta) stages. To move the data itself, see [Lakeflow Connect connector concepts](https://docs.databricks.com/gcp/en/ingestion/lakeflow-connect/index.md).

| Task                                                                                                   | Description                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Create and analyze a project](https://docs.databricks.com/gcp/en/migration/genie-migrate/projects.md) | Assessment stage. Create a migration project, add your source files, analyze code complexity and the dependencies between files, and plan the migration in groups.     |
| [Convert code](https://docs.databricks.com/gcp/en/migration/genie-migrate/convert.md)                  | Conversion stage. Convert SQL to Databricks SQL queries or Databricks notebooks, and review and accept the converted code.                                             |
| [Validate data](https://docs.databricks.com/gcp/en/migration/genie-migrate/validate.md)                | Data validation stage. After you migrate the data, compare SQL Server or Azure Synapse tables with the migrated tables by row counts and row-level differences (Beta). |

## <a id="migration-projects" />What is a migration project?

A migration project is where you manage a migration in your workspace. It tracks the state of each file and gives you a single place to analyze, convert, and review your code. When you create a project, you choose:

* **Source dialect**: The SQL dialect of your existing code, such as T-SQL or Teradata, or Informatica for PowerCenter exports.
* **Target framework**: The format of the converted code. See [Supported source dialects and target frameworks](https://docs.databricks.com/gcp/en/migration/genie-migrate/convert.md#supported-sources).
* **Destination folder**: The workspace folder where Genie Migrate writes the converted files.

To create a project, see [Create a migration project](https://docs.databricks.com/gcp/en/migration/genie-migrate/projects.md#create-project).

## <a id="requirements" />Requirements for Genie Migrate

* Your existing SQL or XML files must be accessible in your workspace, either uploaded as workspace files or opened in the editor.
* Your workspace must meet the Genie Code requirements. See [Genie Code](https://docs.databricks.com/gcp/en/genie-code/index.md).
* To use the Notebooks target framework, project analysis and lineage, Informatica PowerCenter conversion, or Data Validation, which are in [Beta](https://docs.databricks.com/gcp/en/release-notes/release-types.md), a workspace admin must turn on **Migration Projects Experimental Features** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/gcp/en/admin/workspace-settings/manage-previews.md). The Lakeflow pipelines target framework also needs this preview, but it's available in some workspaces only, so it might not appear even with the preview on.
* To use the Lakeflow pipelines target framework, your workspace must support serverless pipelines, and you need permission to create pipelines, and `USE CATALOG`, `USE SCHEMA`, `CREATE TABLE`, and `CREATE MATERIALIZED VIEW` on each group's destination catalog and schema. To convert files in a group whose pipeline another user created, you also need [CAN RUN](https://docs.databricks.com/gcp/en/security/auth/access-control/index.md#ldp) permission on that pipeline.

## Next steps

* [Create and analyze a migration project](https://docs.databricks.com/gcp/en/migration/genie-migrate/projects.md)
* [Convert SQL scripts and ETL pipelines with Genie Migrate](https://docs.databricks.com/gcp/en/migration/genie-migrate/convert.md)
* [Validate migrated data with Genie Migrate](https://docs.databricks.com/gcp/en/migration/genie-migrate/validate.md)
