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

   ### Apache StreamPipes version
   
   dev (current development state)
   
   ### Affected StreamPipes components
   
   Backend, Connect, Processing Elements, UI
   
   ### What happened?
   
   Some of my JSON data consumed by an input adapter have null values.
    E.g. {"name": 1, "age": null}
   
   This leads to a NPE when guessing the schema. 
   
   In my local SP version I just replaced the null value after parsing with a 
java.util.Optional and a custom runtime type.
   This works most of the time especially if the field datatype is string.
   
   But I think this is not a complete solution since the behavior in processors 
and output adapters is not defined.
   
   What do you think how this kind of data should be handed?
   
   
   ### How to reproduce?
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional technical information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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