Skip to content

Quixote

Quixote is an experimental C++20 query engine for Apache Arrow data and local Parquet files. It is built to explore vectorized execution, standalone Parquet I/O, explicit memory budgets, and Arrow C Data/C Stream interoperability from Python and C++.

Build a physical query plan in Python or C++, give it Arrow data or Parquet files, then collect the result, stream batches, or write a Parquet file. Both APIs are experimental and Quixote has no SQL parser.

Start here

  1. Install Quixote from PyPI, from source, or as a C++ SDK.
  2. Run the Python or C++ quickstart.
  3. Read and write Parquet.
  4. Review benchmarks and current status.

Current scope

Quixote accepts 19 nullable scalar types (integers, floats, decimals, strings, bytes, dates, and timestamps) plus nested Struct, List, LargeList, and Map columns. See the type table for the full list.

  • Filter rows, select columns, and compute expressions including linear-time UTF-8 regular expressions.
  • Compute sum, count, average, minimum, maximum, stddev, variance, and any_value across all rows or by group. Feed grouped results into follow-on filters, joins, or sorts.
  • Join two queries with inner, left, right, full, semi, anti, or cross joins, with optional post-join predicates.
  • Sort rows by one or more keys (preserving input order on ties) and limit or offset results.
  • Apply window functions or combine inputs with union, intersection, and difference.
  • Spill large sorts, grouped aggregates, intersections, and differences to a local directory when memory is constrained.
  • Inspect operator time, rows, memory, and I/O with profiling.

The standalone Parquet reader and writer handle flat and nested columns without linking libarrow or libparquet. Scans can skip row groups and indexed pages, filter dictionary IDs, and apply runtime filters from joins.

See behavior and limits for type, ordering, and memory rules. The source repository includes Python physical plans for TPC-H Q01 through Q22 in benchmarks/tpch/.

Download the page index or the complete guide with examples.