Prerequisites
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 typecount_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.