Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zalando Engineering 13 min read Case study easyNovice

Direct Data Sharing using Delta Sharing - Introduction: Our Journey to Empower Partners at Zalando

Zalando's Partner Tech team replaced a fragmented mix of SFTP, CSV downloads, APIs and S3 handoffs with Databricks-managed Delta Sharing, giving partners zero-copy access to more than 200 analytical datasets, some as large as 200TB. Partners were each spending about 1.5 FTE per month on manual data consolidation, so the team chose a solution that is open, cloud-agnostic and usable from Pandas, Spark and spreadsheets. The setup prepares Delta tables in Unity Catalog, groups them into shares, and issues each partner token-based credentials through an activation link. A proof of concept exposed friction around Unity Catalog permissions and the lack of self-service token APIs. The pilot is now becoming a Zalando-wide recipient-management platform, with OIDC federation under exploration.

Assumes: data lakehouse basicsDelta Lake tables

Related posts

  • Schematizing Deletion at Scale

    Shopify Engineering mediumAdept

    Shopify handles PII deletion in a warehouse ingesting tens of billions of events per day by requiring privacy-annotated schemas for every analytical event (4,500+ active schemas) and pseudonymising PII before it lands. A Scrubber on the Kafka pipeline applies irreversible obfuscation, such as masking IPs with geo enrichment or reducing user agents to device and OS families. For data that must stay recoverable, it applies tokenization: a vault issues consistent per-controller, per-subject tokens, so a deletion request only removes the token-to-PII mapping in the vault and never touches the petabyte-scale warehouse. Adoption came from making schematized events the default easy path, proving correctness through reconciliation and stress tests, and adding value like dataset discoverability.

  • Data logs: The latest evolution in Meta’s access tools

    Meta Engineering mediumAdept

    Meta serves per-user data logs from its Hive data warehouse, which cannot handle per-user point queries, by batching many Download Your Information requests into one full-table scan. A scheduled job collects recent requests into a batch run on the Core Workflow Service. It writes the requester IDs to a Hive table, then runs per-table and per-partition Dataswarm jobs that INNER JOIN against each table's owner column. PySpark splits the results into per-user files, and a Hack post-processing step applies privacy filters and renders readable HTML. Lessons include checkpointing for resilience against out-of-memory and timeout failures, a user-ID verification step added after a Spark partitioning bug nearly returned data to the wrong user, and an experimentation platform for testing workflow changes.

  • Are open-table-formats + lakehouses the future of observability?

    ClickHouse mediumAdept

    Lakehouses built on open table formats like Apache Iceberg and Delta Lake are becoming viable for observability, combining Parquet's columnar compression, encodings, page and row-group statistics, and Bloom filters with table-level schema evolution, partitioning, snapshots, and catalogs. At telemetry scale they run into real problems. Partitioning involves tradeoffs between small-file explosion and wide scans, metadata and manifests grow with high ingest, optimistic-concurrency commits contend under many writers, Parquet handles semi-structured data and point lookups poorly, and object storage adds latency. Liquid clustering, Parquet's new VARIANT type, and formats like Lance are narrowing these gaps, while engines like ClickHouse handle batching, sorting, and merges natively.

  • Policy Zones: How Meta enforces purpose limitation at scale in batch processing systems

    Meta Engineering mediumAdept

    Meta's Policy Zones, part of its Privacy Aware Infrastructure, applies information flow control to enforce purpose limitation across an exabyte-scale data warehouse. Datasets and loggers carry Governable Data Annotations such as MESSAGING_DATA, and downstream data must be at least as restrictive as its sources. A SQL parser (UPM) turns queries from processors like Presto into semantic trees. A Policy Evaluation Service checks each flow and issues a cryptographically signed token that the Warehouse Permission Service validates at access time. Policy Zone Manager tooling handles label creep through reclassification, letting the system run across millions of datasets, tens of millions of daily flows and trillions of consent checks per hour.

  • Data Lineage at Slack

    Slack Engineering mediumAdept

    Slack built a central Data Lineage Service that automatically captures table- and column-level lineage by hooking Airflow success callbacks and dashboard audit logs, then parsing the submitted SQL with ANTLR (backed by a large unit-test suite). Raw lineage lands in RDS MySQL, and a daily Spark job uses Pregel to traverse the dependency graph and write a flattened Hive table with a 'layer' column, so transitive downstream dependencies come back from a single query. A Data Portal notify feature uses this lineage to message downstream owners in Slack about deprecations and retention changes. Lineage for non-SQL Spark jobs, a graph database and automated schema-change alerts are listed as future work.

The quest for software engineering knowledge.

Look:
Layout: