Apache Pinot

Apache Pinot
Original authors
  • Kishore Gopalakrishna
  • Xiang Fu
DeveloperApache Pinot
Stable release
1.5.1 / 5 June 2026; 5 months ago (2026-06-05)
Written inJava
Operating systemCross-platform
Type
LicenseApache License 2.0
Websitepinot.apache.org
RepositoryPinot repository

Apache Pinot is an open-source, distributed, column-oriented, online analytical processing (OLAP), data store written in Java. Pinot is designed for low-latency analytical queries over data ingested from both streaming and batch sources. It is suited in contexts where fast analytics, such as aggregations, are needed at high-concurrency, and possibly, with real-time data ingestion.

Pinot was first created at LinkedIn in 2013 to support user-facing analytical reporting. Pinot supports real-time ingestion, SQL queries, distributed query processing, and multiple indexing techniques to improve query performance.

Active development on Apache Pinot now comes from contributors at StarTree (founded by Pinot's creators), Uber, Microsoft, Stripe, Walmart and Slack. Pinot is used by many more companies including Citi, Etsy, Hubspot, and Goldman Sachs

History

Pinot was started as an internal project at LinkedIn in 2013 to power a variety of user-facing and business-facing products. One of its early applications was LinkedIn's 'Who's used your profile' feature, which required analytics over recently generated data with low query latency.

The project was open-sourced in June 2015 under an Apache 2.0 license and was donated to the Apache Software Foundation by LinkedIn in June 2019. Pinot became an Apache top-level project in August 2021.

Apache Pinot 1.0 was released in August 2023. The release included Pinot's multi-stage query engine which extended it's SQL capabilities to include distributed operations such as joins, window-functions, and set operations. Development has continued with subsequent releases.

Architecture

Architecture of Apache Pinot
Architecture diagram of Apache Pinot

Pinot uses Apache Helix for cluster management. Helix is embedded as an agent within the different components and uses Apache ZooKeeper for coordination and maintaining the overall cluster state and health. All Pinot servers and brokers are managed by Helix. Helix is a generic cluster management framework to manage partitions and replicas in a distributed system.

Query management

Queries are received by brokers—which checks the request against the segment-to-server routing table—scattering the request between real-time and offline servers.

Cluster management

Pinot leverages Apache Helix for cluster management. Helix is a cluster management framework to manage replicated, partitioned resources in a distributed system. Helix uses Zookeeper to store cluster state and metadata.

Features

Pinot shares similar features with comparable OLAP datastores, such as Apache Druid. Like Druid, Pinot is a column-oriented database with various compression schemes such as Run Length and Fixed-Bit Length. Pinot supports pluggable indexing technologies - Sorted Index, Bitmap Index, Inverted Index, Star-Tree Index, and Range Index, which are what primarily differentiates Pinot from other OLAP datastores.

Pinot supports near real-time ingestion from streams such as Kafka, AWS Kinesis and batch ingestion from sources such as Hadoop, S3, Azure, GCS. Like most other OLAP datastores and data warehousing solutions, Pinot supports a SQL-like query language that supports selection, aggregation, filtering, group by, order by, distinct queries on data.

See also