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

   ### Apache StreamPipes version
   
   dev (current development state)
   
   ### Affected StreamPipes components
   
   Processing Elements
   
   ### What happened?
   
   When calculating a new field with the  `Math` processing element, you can 
only aggregate the calculation result with `First`, `Last`, `Mode` and `Count` 
in the Data Explorer, but you can't use `Mean`, `Min`, `Max` or `Sum`. 
   
   ### How to reproduce?
   
   Create a pipeline, use a data source with two numerical fields and use the  
`Math` processing element to calculate a new field:
   
![math_pipeline](https://user-images.githubusercontent.com/43231162/219004142-7d98ba94-6fd5-4946-a4fd-648ef20e289e.png)
   When you agregate the calculation result with `First` every thing is fine:
   
![aggregated_first](https://user-images.githubusercontent.com/43231162/219004697-3faff523-e2ae-4a36-83ce-8d69e196c8de.png)
   But if you try to show the `Mean` it does't work:
   
![aggregated_mean](https://user-images.githubusercontent.com/43231162/219005030-42ef202a-1801-4e04-b4b9-9ff33a3a89e8.png)
   
   
   ### Expected behavior
   
   Maybe there's an error with the type of the calculation result.
   
   ### Additional technical information
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   None


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