integration_tests/big-query-sink/README.md
In this demo, we want to showcase how RisingWave is able to sink data to Bigquery.
(need put gcp key file in risingwave/gcp-rwctest.json)
docker-compose up -d
The cluster contains a RisingWave cluster and its necessary dependencies, a datagen that generates the data.
CREATE table '${project_id}'.'${dataset_id}'.'${table_id}'(
user_id INT64,
target_id STRING,
event_timestamp TIMESTAMP
);
create_source.sql
create_mv.sql
create_sink.sql
Run the following query
select user_id, count(*) from demo.demo_bhv_table group by user_id;