Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Another Shortcut Didn’t Move the Data. So We Did. — Snowflake to Fabric, Part 5

Hi Folks, Our source changed only a few times a day. I wanted to test scheduled Snowflake replication as an alternative to continuous mirroring, while keeping one shared layer for downstream Fabric teams. In Part 4 , the replica was readable. The cutover still failed downstream. One constraint was geography: the replica and its consumers were in different Azure regions. Another shortcut still…

Snowflake's source changed occasionally, enabling them to test scheduled replication as an alternative to continuous mirroring. However, the cutover still failed downstream due to geographical constraints. To overcome this, they copied the required files into the consuming region, addressing the regional restriction. The main issue remained how Fabric discovered and exposed the table.

The data flow involved Snowflake on AWS, Snowflake replica in Azure, copying files into OneLake in the consuming region, and then sharing the Bronze tables. Bronze refers to the shared source-data layer, which downstream teams reuse instead of running their own ingestion. The GIF illustrates the design and not a recorded run.

Copying the Parquet files was only part of the job. An Iceberg table consists of files, metadata, and schema. Copying the files alone leaves the old locations in the metadata, causing the reader to look in the wrong place. There were two metadata jobs: Iceberg metadata and Fabric's virtual Delta metadata.

After copying the files, they needed to generate the Iceberg metadata and publish the destination metadata using official Apache Iceberg Java APIs. Python coordinated file copying, checkpoints, and retries while an adapter connected the Iceberg library to their storage and publication process.

When a snapshot is compared with the last successful publication, only the changed files are copied, not the entire table. This incremental copying is not row-level CDC. The order of operations matters: copy the required files, publish the metadata, then record the successful checkpoint.

OneSchema change exposed a gap in their framework, stopping the run during preparation. They added handling for nullable-column additions, preserving existing field identities and types. Scoped SQL metadata synchronization cleared any observed lag in the SQL endpoint without copying the data again.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

McDaniels vs Herro after 34 and 32: a 3.5-point scoring gap, a 4.1-point TS% gap

Two Timberwolves-Bucks scorers had big nights on Monday: Jaden McDaniels with 34 and Tyler Herro with 32. The season averages tell a more balanced story, so here is the full line side by side from…

  • Jaden McDaniels scored 34 points in 18 games, leading by 3.5 points over Tyler Herro
  • Tyler Herro averaged 4.5 rebounds and 4.5 assists per game, compared to McDaniels' 6.2 and 3.7
  • McDaniels' true shooting percentage of 63.8% outpaced Herro's 59.7% by 4.1 points

Hoppscotch Environment Variable Scope: A Practical Guide

Quick answer: Hoppscotch gives you five variable scopes, and when two variables share a name, the narrowest scope wins. Resolution runs Request, then Collection, then Predefined, then Environment…

  • Hoppscotch offers five variable scopes: Request, Collection, Predefined, Environment, and Global.
  • Variable collisions prioritize the closest definition based on color-coded hierarchy.
  • Secret variables remain hidden, not synced, and populated at runtime.

Dynatrace Managed training: a free Dynatrace course in 8 modules

New to Dynatrace Managed, or already using it without ever taking the time to structure what you know? This free Dynatrace Managed training course takes you through eight modules, from the basic…

  • Dynatrace offers a free 8-module training course
  • Modules cover observability, cluster architecture, OneAgent deployment, and more
  • Course takes about 6 hours to complete

More from Tuesday 24 November →