You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create source if not exists testwm (
v1 int, v2 int, watermark for v1 as v1 -3
) with (
connector ='kafka',
topic ='testwm',
properties.bootstrap.server ='localhost:29092'
) row format json;
create materialized view mv1 asselectsum(v2) from testwm group by v1;
Describe the bug
No response
To Reproduce
Steps
Kafka-client is required
Enable kafka in risedev configure
Start the cluster
Create a kafka topic
Create the source and table in risingwave.
Ingest some records
Query the hashagg internal states
We can found one record where
v1 = 10
Ingest more records with v1 increased by at least 4.
Query the hashagg internal states, and there are two records, the old record still exist, so state cleaning failed.
Investigation
In
state_table.rs
, end ofbatch_write_rows
We can found that the
delete_range
is called correctly.Expected behavior
The old record should be cleaned.
Additional context
Likely a storage bug.
The text was updated successfully, but these errors were encountered: