Skip to main content
Apache Pinot is a real-time distributed OLAP datastore purpose-built for low-latency, high-throughput analytics, and perfect for user-facing analytical workloads. StarTree is a fully-managed platform for Pinot.

Prerequisites

  • The hostname for the Pinot broker
  • The port for the Pinot broker
Note that the following features should be enabled in your Pinot cluster:

Setup

Currently, Apache Pinot is not shown in the list of available data sources in the UI. However, you can still configure it using environment variables.

Manual

Add the following to a .env file in your Cube project:

Environment Variables

Pre-Aggregation Feature Support

count_distinct_approx

Measures of type count_distinct_approx can be used in pre-aggregations when using Pinot as a source database. To learn more about Pinot support for approximate aggregate functions, click here.

Pre-aggregation build strategies

To learn more about pre-aggregation build strategies, [head here][ref-caching-using-preaggs-build-strats].
By default, Pinot uses a simple strategy to build pre-aggregations.

Simple

No extra configuration is required to configure simple pre-aggregation builds for Pinot.

Batching

Pinot does not support batching.

Export bucket

Pinot does not support export buckets.

SSL

Cube does not require any additional configuration to enable SSL as Pinot connections are made over HTTPS.