bug(source): unexpected warning on undefined-field-padding-null error #16191
Labels
component/connector
type/bug
Something isn't working
type/enhancement
Improvements to existing implementation.
Milestone
Describe the bug
In kafka source with upsert format, it is a normal case where a message only has key but no value. This represents a delete event.
However, when ingesting such a message, a warning is printed:
Error message/log
No response
To Reproduce
Just create a kafka upsert source, with a delete event (kafka message with key only and no value) in the topic.
Expected behavior
No warning printed. Because it is expected to have no value. It is misleading and may shadow/suppress other real problems.
When we already know it is a delete event, there should be no attempts to extract columns from its value.
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
delete
calls intodo_action
risingwave/src/connector/src/parser/mod.rs
Lines 536 to 541 in ff862dc
do_action
callswrapped_f
(field access) to on every columnself.descs.iter()
risingwave/src/connector/src/parser/mod.rs
Lines 498 to 505 in ff862dc
The text was updated successfully, but these errors were encountered: