# How dlt uses Apache Arrow

DevFeed: [How dlt uses Apache Arrow](<https://devfeed.tech/articles/how-dlt-uses-apache-arrow-80333.md>)

Original publisher: [Read original article](<https://dlthub.com/blog/how-dlt-uses-apache-arrow>)

Author: Jorrit Sandbrink

Published: 2024-07-11T00:00:00Z

Content type: article

Language: en

Sources: [DLT Hub](<https://devfeed.tech/sources/dlt-hub.md>)

Topics: [DLT](<https://devfeed.tech/topics/data-load-tool.md>), [apache-arrow](<https://devfeed.tech/topics/apache-arrow.md>), [parquet](<https://devfeed.tech/topics/parquet.md>), [compressing data with Parquet](<https://devfeed.tech/topics/compressing-data-with-parquet.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [Python](<https://devfeed.tech/topics/python.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>)

Tags: [apache-arrow](<https://devfeed.tech/tags/apache-arrow.md>), [batch](<https://devfeed.tech/tags/batch.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [community](<https://devfeed.tech/tags/community.md>), [data-processing](<https://devfeed.tech/tags/data-processing.md>), [memory](<https://devfeed.tech/tags/memory.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [python](<https://devfeed.tech/tags/python.md>), [tabular-data](<https://devfeed.tech/tags/tabular-data.md>)

## AI overview

The article explains how the open source Python library dlt uses Apache Arrow to make data pipelines faster. It compares dlt's traditional route, which processes native Python objects row by row, with its Arrow route, which uses columnar data, Parquet files, and C++ batch transformations. The article also notes that Arrow's advantages depend on destination support for Parquet loading and suggests Arrow IPC serialization as an untested possible optimization.

## Source excerpt

`dlt` uses Apache Arrow to make pipelines faster. The Arrow format is a better way to represent tabular data in memory than native Python objects (list of dictionaries). It enables offloading computation to Arrow's fast C++ library and prevents processing rows one by one. Speed matters. Pipelines should move data quickly and efficiently. The bigger the data, the more that holds. Growing data volumes force performance optimization upon data processing tools.