---
title: "Aligning Velox and Apache Arrow: Towards composable data management"
description: "Apache Arrow 15 adds three columnar layouts derived from Meta's Velox Vectors: StringView, ListView and Run-End-Encoding (REE)."
url: "https://swe.quest/articles/aligning-velox-and-apache-arrow-towards-composable-data-management-afb27bd747bab328"
canonical: "https://engineering.fb.com/2024/02/20/developer-tools/velox-apache-arrow-15-composable-data-management/"
source: "Meta Engineering"
published: "2024-02-20"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 8
tags: ["query-engines","analytics","data-structures","open-source","c-cpp"]
---

# Aligning Velox and Apache Arrow: Towards composable data management

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2024-02-20, 8 min read, Deep dive. Original: [https://engineering.fb.com/2024/02/20/developer-tools/velox-apache-arrow-15-composable-data-management/](https://engineering.fb.com/2024/02/20/developer-tools/velox-apache-arrow-15-composable-data-management/)

## Summary

Apache Arrow 15 adds three columnar layouts derived from Meta's Velox Vectors: StringView, ListView and Run-End-Encoding (REE). The goal is zero-copy interchange between Velox and the wider Arrow ecosystem. StringView uses 16-byte view objects that inline strings up to 12 bytes and keep a 4-byte prefix otherwise, which enables fail-fast comparisons, zero-copy trim/substr and out-of-order writes. ListView stores both lengths and offsets so containers can be written out of order for vectorized conditionals and sliced zero-copy. REE stores run end offsets rather than run lengths for better random access, and it also covers constant encoding.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data structures](https://swe.quest/tags/data-structures.md) (Architecture & design)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [C & C++](https://swe.quest/tags/c-cpp.md) (Languages)

## Prerequisites

- columnar data formats
- Apache Arrow basics
- vectorized query execution

## Keywords

Velox, Apache Arrow, StringView, ListView, Run-End-Encoding, Voltron Data, DuckDB, Presto

## Related posts

- [Composable data management at Meta](https://swe.quest/articles/composable-data-management-at-meta-c95cc910c8dc9e8f.md): Meta Engineering · 2024-05-22 · Easy · 9 min read · Query engines, Analytics & OLAP, System design, Open source
  Meta has been decomposing its many monolithic data engines (ETL, interactive, streaming, ML preprocessing) into reusable components: language frontend, IR, optimizer, execution library and runtime.
- [Introducing Velox: An open source unified execution engine](https://swe.quest/articles/introducing-velox-an-open-source-unified-execution-engine-d191dd46ed8f465e.md): Meta Engineering · 2023-03-09 · Hard · 8 min read · Query engines, Analytics & OLAP, C & C++, Performance engineering, Open source
  Velox is Meta's open source C++ execution engine that unifies the data-plane components (expression evaluation, aggregation, joins, sorting, I/O, resource management) shared by engines like Presto, Spark and PyTorch's TorchArrow.
- [Ducks in a Column](https://swe.quest/articles/ducks-in-a-column-ce42623eb848a791.md): DuckDB · 2026-11-10 · Medium · 12 min read · SQL, Analytics & OLAP, Query engines
  DuckDB stores data by column and processes it in vectors of 2,048 values, which drives its compression, projection pushdown and aggregation speed.
- [Litestream v0.5.0 is Here](https://swe.quest/articles/litestream-v0-5-0-is-here-f9fbba886e3df515.md): Fly.io · 2025-10-02 · Medium · 6 min read · SQLite, Replication, Storage engines, Go
  Litestream v0.5.0 replaces WAL-segment backups with the LTX file format from LiteFS, enabling efficient point-in-time recovery through hierarchical compaction (30-second, 5-minute and hourly levels), so a restore typically needs only a dozen or so files.
- [One Driver, One Format, Every Language: ADBC](https://swe.quest/articles/one-driver-one-format-every-language-adbc-cd7930c89ffe6678.md): ClickHouse · 2026-07-10 · Medium · 12 min read · Analytics & OLAP, Databases, Ruby, Rust, Data pipelines
  ClickHouse released an official ADBC (Arrow Database Connectivity) driver, written in Rust, that returns query results as Apache Arrow end to end with no row-oriented conversion or staging step.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
