6 Ways DELETE + VACUUM Still Leave Erased GDPR Data in Your Iceberg & Delta Lakehouse
Most GDPR Article 17 (Right to Erasure) pipelines on modern lakehouses end with the same three lines:
DELETE FROM prod.customers WHERE email = 'anna.mueller@example.invalid';
-- Iceberg: CALL system.expire_snapshots(...)
-- Delta: VACUUM prod.customers RETAIN 0 HOURS;
Then the pipeline runs SELECT COUNT(*) FROM prod.customers WHERE email = ..., sees 0, and closes the DSAR ticket.
0 rows returned by SQL does not mean the customer's bytes left object storage.
Across Apache Iceberg (v2/v3), Delta Lake (3.x/4.x), AWS S3, Azure ADLS Gen2 / Fabric OneLake, and GCS, erased personal data routinely survives in six distinct layers.
1. Logical Deletes Are Not Physical Scrubs
On Merge-on-Read tables, DELETE writes Iceberg position/equality deletes, v3 Puffin Deletion Vectors, or Delta .bin Deletion Vectors while leaving raw customer bytes inside the underlying Parquet files. Even explicit rewrite jobs suffer from verified engine bugs such as delta-io/delta #8082 (Liquid Clustering REORG committing 0 rewritten files while DVs persist), ClickHouse #118113 (inverted delete-manifest file_path bounds), and apache/iceberg #18618 (fixed[N] equality deletes).
2. Iceberg Avro Manifests Leak truncate(16) PII Prefixes
Iceberg defaults to write.metadata.metrics.default = truncate(16), copying verbatim 16-character prefixes of emails and IBANs into Avro lower_bounds and Unicode-incremented upper_bounds. Setting write.metadata.metrics.column.email = 'none' is prospective only; historical manifests and retained v*.metadata.json files (delete-after-commit defaults to false) keep old prefixes until rewritten and expired.
3. Delta VACUUM Never Touches _delta_log/
VACUUM never deletes _delta_log/*.json, .checkpoint*.parquet, or Delta 4.x V2 _delta_log/_sidecars/*.parquet. Column minValues/maxValues and literal commitInfo.operationParameters.predicate strings (WHERE email = '...') persist for 30+ days under default delta.logRetentionDuration.
4. AWS S3 & EU Sovereign S3 Versioning
On versioned buckets (AWS S3, Hetzner, STACKIT, OVH, Ceph RGW, MinIO), VACUUM issues DeleteObject, creating a Delete Marker while keeping the erased Parquet file readable forever as a noncurrent version unless NoncurrentVersionExpiration is configured and noncurrent VersionIds are purged.
5. Azure ADLS Gen2 (HNS), Fabric OneLake & GCS Soft Delete
- Azure ADLS Gen2 (HNS): Does not support Blob Versioning — shadow retention comes from Blob/Container Soft Delete.
- Microsoft Fabric OneLake: Enforces a 7-day default soft-delete window with no manual hard-purge API.
- Google Cloud Storage: Enforces a 7-day default Soft Delete policy and explicitly forbids early permanent deletion of already soft-deleted generations.
6. Scanning 50 TB of metrics=none Parquet Without Spark
Once you disable manifest metrics on PII columns, naive full-file scans on a 50 TB wide table take ~5 hours. PurgeProof uses a 4-tier byte-range ladder (Manifest Prune → Native Parquet Split Block Bloom Filter → Thrift encoding_stats Streaming Dictionary-Page-First → Single-Column Data Page Fallback).
In our verified 16.09 GiB benchmark (13.22 GiB wide 32-column Iceberg table, 24.01M rows, metrics=none), PurgeProof read 17.9 MiB (0.13%) in 0.435s (14.4x speedup, 30.41 GiB/s) at 95.1 MiB isolated peak RSS with 100% recall across planted dictionary, PLAIN fallback, orphan, and metadata needles — and 0 raw PII bytes in any report or signed Ed25519 receipt.
Explore the Apache 2.0 CLI and full benchmarks at github.com/timor-dataworks/purgeproof.
Try PurgeProof Read-Only on Your Staging Lakehouse
Apache 2.0 · Zero write permissions · Zero raw PII. View on GitHub or email timor@timor-dataworks.com.