Prerequisites
- Credentials for the RisingWave cluster
Setup
RisingWave provides a Postgres-compatible interface. You can connect Cube to RisingWave as if it’s a regular Postgres data source.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
not be used in pre-aggregations when using RisingWave as a source database.
Pre-aggregation build strategies
To learn more about pre-aggregation build strategies, head
here.
By default, RisingWave uses a simple strategy to build pre-aggregations.