Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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]
Attachments
Issue Links
- Blocked
-
STREAMPIPES-143 Numerical Filter in Siddhi not working
- Closed