← tutti gli articoli

Genie Migrate and Genie ZeroOps: Databricks wants an agent to move your pipelines, and another to watch them

T-SQL to Lakeflow conversion is now generally available in Genie Migrate, and Genie ZeroOps is in Beta. What each one does, how to try them, and the limits, from a data engineer's point of view.

·4 min di lettura

Two jobs take a lot of my week: moving old SQL into something modern, and finding out why a pipeline failed at 3 a.m. In November Databricks shipped an agent for each one.

The timing also fits: the Data + AI World Tour stopped in Milan on 24 November, the same day the first one reached general availability.

Part 1: Genie Migrate, from T-SQL to Lakeflow pipelines

On 24 November the release notes said that Genie Migrate can convert T-SQL scripts from SQL Server and Azure Synapse dedicated SQL pools into Lakeflow pipelines, and that this is now generally available. It was in Beta since 13 November.

How it works, according to the docs:

  • You create a migration project and add your source files.
  • You choose the Spark Declarative Pipelines target framework. This target is only for T-SQL projects.
  • You organize the files into groups and pick a catalog and schema for each group.
  • Each group becomes one serverless pipeline. Genie Migrate checks it with a dry run, so nothing runs and no data is written until you run the pipeline yourself.

Behind the scenes, subagents convert files in parallel and check each output for syntax and for meaning (do the joins and WHERE clauses match the source?). If a check fails, they revise and check again.

The part I like most is custom skills: if your old code uses a home-made data type, you write the rule once in a SKILL.md file under Workspace/.assistant/skills/, and the conversion uses it.

A concrete example

Say you have 40 stored procedures that load a sales mart in SQL Server. One group for staging, one for the mart: two pipelines, each in its own schema. You open each one, read the -- TODO: manual review required comments, and run it on test data. (My own example, not a customer case.)

How to try it

  1. A workspace admin turns on Migration Projects Experimental Features on the Previews page. Yes, the feature is GA, but the docs still ask for this toggle.
  2. Create a T-SQL migration project, add your scripts, and choose the Spark Declarative Pipelines target.
  3. Group the files, choose a catalog and schema per group, convert, then open each pipeline and review it.

Part 2: Genie ZeroOps, an agent that watches your jobs

Databricks first showed Genie ZeroOps at the Data + AI Summit in June. On 12 November it became available in Beta.

It watches failed job and pipeline runs, and tables that are stale or incomplete. You describe the scope to Genie Code, for example "all owned jobs". When you start it, it also looks back at the previous 24 hours.

For each problem it writes an "insight" with what failed, the root cause, the evidence and a proposed fix. Insights land in a ZeroOps inbox that you open from Jobs & Pipelines. The June blog post says the root cause analysis uses Unity Catalog lineage, so it can tell a code bug from an upstream schema change.

It does not apply fixes on its own. For workspace code, you ask Genie Code to apply the fix, or you do it yourself. For code in Git, it prepares the change and offers to open a pull request. It pushes only after you confirm the branch, and it never force-pushes. After the next successful run, it marks the insight as resolved.

How to try it

  1. A workspace admin turns on Genie ZeroOps on the Previews page.
  2. In the sidebar, open Jobs & Pipelines and then ZeroOps. Configure the scope in the Genie Code chat.
  3. Optional: send insights to Slack, Microsoft Teams, PagerDuty or a webhook. An admin must create these destinations first.

The limits

  • Converted code still needs a human. The docs say syntax checks do not guarantee identical results. Test on non-production data.
  • Lakeflow output is for T-SQL only. Snowflake, Redshift, Oracle, BigQuery and Teradata convert to Databricks SQL, not to pipelines.
  • Batch size: up to 500 files and 10 groups per run.
  • ZeroOps is Beta and may change. It sees only assets you have permission on.
  • No email alerts in ZeroOps.
  • Sharing exposes data. People you share a ZeroOps configuration with can see code excerpts and sample rows, even without access to the tables.
  • No prices on either page. Neither doc gives costs, so check your account before running big batches.

Two other things this week

Anthropic announced Claude Ship on 23 November: agents for GitHub pull requests, with Code Review (GA) plus PR Steward and Claude Approvals (Beta). Team and Enterprise plans, billed on tokens.

Microsoft made Database Hub in Microsoft Fabric generally available on 17 November: one place to monitor databases across SQL Server, Azure SQL, PostgreSQL, Azure Cosmos DB and Fabric SQL.

My take

Both features follow the same pattern: the agent does the boring part, and a human approves. A dry run before anything writes data, a pull request before anything changes in Git. For me that is the right design. My first test would be small: one group of five stored procedures in Genie Migrate, and ZeroOps on the jobs I already own. Then I compare its root cause with what I would have found myself.

Sources

databrickslakeflowmigrationagentsdata-engineering