delete before insert with sql_raw #4259
Unanswered
artemklevtsov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I tried to process messages from the kafka and produce output to postgres.
How can I delete from the database before process main payload?
Now redpanda procude batch and
DELETE FROMcalled for the whole batch.I tried
splitprocessor for the input without success.Conditional output query with
whenselects only one query.Actual (also see database log below):
Expected
To reproduce:
docker-compose.yaml:pg,conf:listen_addresses = '*' log_statement = 'all'gen.yaml:process.yaml:pg.log:Details
Regards
Beta Was this translation helpful? Give feedback.
All reactions