I'm working with a simple example, based on HelloWorld.
A plain "select * from smartInputChannel" works as expected.
However, when I try an aggregate function, such as "select sum(*) from smartInputChannel", I get in the logs:
No queries exist for stream/relation [smartInputChannel], events will be dropped.
What is it that disables the query?
In OEP every data are typed. As a result you need to specify an event type at downstream to receive the sum(*) data.
And you need to alias to name the result column to the corresponding property name, like sum(*) as eventCount