GitHub user flomickl added a comment to the discussion: Cannot remove values
from event stream without breaking pipeline stream
so do I have to adjust the output strategy other than .keep() or append() if I
use
`event.removeFieldBySelector`
```
...
public void onInvocation ...
.outputStrategy(
OutputStrategies.append(
PrimitivePropertyBuilder
.create(Datatypes.String, GEOMETRY_RUNTIME)
.domainProperty("http://www.opengis.net/ont/geosparql#Geometry")
.build()
)
)
...
public void onEvent
...
event.removeFieldBySelector(latitudeMapper);
event.removeFieldBySelector(longitudeMapper);
event.addField(GEOMETRY_RUNTIME, geom.toString());
...
```
GitHub link:
https://github.com/apache/streampipes/discussions/1276#discussioncomment-5000771
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]