Prerequisites
- You have a running RisingWave cluster of v1.7 or later.
- You can access the target table and the version is v2.5 or later.
- To sink data into a table, you must have the SELECT and INSERT privileges on the target table. To grant the privileges, see GRANT.
Parameters
The following table describes the parameters you need to configure when you sink data from RisingWave to the database. All parameters are required unless otherwise specified.Data type mapping
The following table provides the data type mapping between RisingWave and the database.Examples
-
Create a database
demoin the database and create a Primary Key tablescore_boardin this database. -
Sink data from RisingWave to the database.