# How we extended Apache DataFusion to execute one query across many machines

DevFeed: [How we extended Apache DataFusion to execute one query across many machines](<https://devfeed.tech/articles/how-we-extended-apache-datafusion-to-execute-one-query-across-many-machines-63395.md>)

Original publisher: [Read original article](<https://www.datadoghq.com/blog/engineering/distributed-datafusion/>)

Author: Gabriel Musat Mestre

Published: 2026-10-01T00:00:00Z

Content type: article

Language: en

Sources: [Datadog](<https://devfeed.tech/sources/datadog.md>), [Datadog](<https://devfeed.tech/sources/datadog-the-monitor-blog.md>)

Topics: [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [apache-arrow](<https://devfeed.tech/topics/apache-arrow.md>), [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>)

Tags: [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [apache-arrow](<https://devfeed.tech/tags/apache-arrow.md>), [arrow](<https://devfeed.tech/tags/arrow.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [databases](<https://devfeed.tech/tags/databases.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

Datadog built Distributed DataFusion, an open-source Rust framework that extends Apache DataFusion to execute interactive queries across multiple machines. The article explains its physical-plan execution model, partitioning, network shuffles, and aggregation flow, along with design trade-offs around distribution overhead and when to keep queries on one machine. Datadog reports that some previously slow queries run up to 10 times faster at the same total cost, and describes planned adaptive execution and GPU work.

## Source excerpt

Learn how Datadog built Distributed DataFusion to scale interactive Apache DataFusion queries across multiple machines.