tenthe opened a new issue, #4781:
URL: https://github.com/apache/streampipes/issues/4781

   ### Body
   
   Ensure datatype and unit conversions handle incomplete adapter events 
without changing missing-value semantics or dropping events.
   
   **Current behavior**
   
   When datatype conversion is enabled for a property that is absent from an 
event, preprocessing adds the property to the result with a `null` value.
   
   Unit conversion attempts to convert absent, explicitly `null`, or 
non-numeric values. This can cause a `NumberFormatException` and drop the 
entire event. Missing or `null` segments within nested property paths can also 
cause preprocessing to fail.
   
   **Expected behavior**
   
   Missing properties should remain absent. Explicitly `null` properties should 
remain present with a `null` value. Unit conversion should leave non-numeric 
values unchanged and log the failed conversion only at debug level.
   
   **Steps to reproduce**
   
   1. Configure datatype or unit conversion for an adapter property.
   2. Send an incomplete event in which that property is missing or `null`.
   3. Observe that datatype conversion adds the missing property as `null`, or 
unit conversion fails and drops the event.
   
   
   ### StreamPipes Committer
   
   I acknowledge that I am a maintainer/committer of the Apache StreamPipes 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to