# Rewriting History: Migrating petabytes of data to Apache Iceberg using Trino

DevFeed: [Rewriting History: Migrating petabytes of data to Apache Iceberg using Trino](<https://devfeed.tech/articles/rewriting-history-migrating-petabytes-of-data-to-apache-iceberg-using-trino-8701.md>)

Original publisher: [Read original article](<https://trino.io/blog/2022/12/09/trino-summit-2022-shopify-recap.html>)

Author: Marc Laforet, Cole Bowden

Published: 2022-12-09T00:00:00Z

Content type: article

Language: en

Sources: [Trino Blog](<https://devfeed.tech/sources/trino-blog.md>)

Topics: [Apache Iceberg](<https://devfeed.tech/topics/apache-iceberg.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [apache](<https://devfeed.tech/tags/apache.md>), [apache-iceberg](<https://devfeed.tech/tags/apache-iceberg.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [data](<https://devfeed.tech/tags/data.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [development](<https://devfeed.tech/tags/development.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [json](<https://devfeed.tech/tags/json.md>), [migration](<https://devfeed.tech/tags/migration.md>), [shopify](<https://devfeed.tech/tags/shopify.md>)

## AI overview

A recap of Shopify's migration of thousands of tables and petabytes of data from Hive and custom formats into an Apache Iceberg lakehouse queried through Trino.

## Source excerpt

Rolling right along with another one of our Trino Summit 2022 recap posts, we're excited to bring you the engaging talk from Marc Laforet at Shopify. He talked about the ordeal (or, if you look at it in a positive light, the privilege) of migrating petabytes of data from Hive to Iceberg table formats with the help of Trino. With details on why Shopify chose to move to Iceberg, the various migration strategies that were considered, and the ultimate process of moving all that data while the Trino Iceberg connector was still in active development, it's an insightful talk that you don't want to miss.