dominikriemer opened a new issue, #286:
URL: https://github.com/apache/streampipes/issues/286
Depending on the Siddhi query, events received from Siddhi either contain a
*non-primitive data structure*, e.g. for the trend detection [1] it is a
LinkedList,
Returned Siddhi event looks like this:
```
Event{timestamp=1590427035172, data=[[24661], [10], [c], [1590427035166]],
isExpired=false}
```
or
contain a *primitive data structure*, e.g. for the numerical filter (siddhi)
[2] as an Integer.
Returned Siddhi event looks like this:
```
Event{timestamp=1590427127153, data=[24753, 36, b, 1590427127149],
isExpired=false}
```
Now, in the wrapper when trying to convert to a StreamPipes event in the
```
toSpEvent(...)
```
method this fails due to casting error.
[1][Trend
detection]([https://github.com/apache/incubator-streampipes-extensions/blob/dev/streampipes-processors-filters-siddhi/src/main/java/org/apache/streampipes/processors/siddhi/trend/Trend.java)]
[2][Numerical Filter
(Siddhi)]([https://github.com/apache/incubator-streampipes-extensions/blob/dev/streampipes-processors-filters-siddhi/src/main/java/org/apache/streampipes/processors/siddhi/filter/NumericalFilter.java)]
Imported from Jira
[STREAMPIPES-142](https://issues.apache.org/jira/browse/STREAMPIPES-142).
Original Jira may contain additional context.
Reported by: wiener.
--
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]