obermeier commented on issue #856:
URL: https://github.com/apache/streampipes/issues/856#issuecomment-1342234740
Hi Philipp,
thank you for the classification and the interesting thoughts.
* Related to the guess schema topic I prefer the second version too.
This raises interesting questions related to the runtime part.
* Related to the runtime topic I like the second option too but have no
clear idea how to handle the missing values.
I did some experiments with a custom processor and realized that some of
my external systems require all properties of the json object. In this case I
could reconstruct the null values from the schema.?.
If properties are removed at runtime an extensions of the output
adapters could be useful which adds the missing values for external systems
which need this properties.
Because of this two problems I came up with “default value” (Optional
value) solution.
But I am not sure what good default values could be especially if they
should be ignored in the processing.
Using an optional attribute (Which seems to exists in the schema!?) seems
to me a promising but seems to have many implications. Checks in the processing
components handling in the semantic layer …
What do you think about this ideas?
--
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]