Hello! Is ksqlDB has function to initialize aggregate table with some init data?
Example:
CREATE TABLE user_clicks WITH (
kafka_topic = 'user_clicks',
value_format = 'json_sr',
PARTITIONS=2
) AS
SELECT
user_id, count(user_id) as cnt
FROM user_clicks_stream
GROUP BY user_id
EMIT CHANGES;
And I want to add some init data to user_clicks table. Some thing like
INSERT INTO user_clicks (user_id, cnt) VALUES (1,10)
Hello! Is ksqlDB has function to initialize aggregate table with some init data? Example:
And I want to add some init data to user_clicks table. Some thing like
How I can do it?