haoch / flink-siddhi

A CEP library to run Siddhi within Apache Flink™ Streaming Application (Not maintained)
Apache License 2.0
243 stars 96 forks source link

add function returnsTransformRow() #32

Closed tammypi closed 5 years ago

tammypi commented 5 years ago

We need create a stream by csql() and then use this stream as the other stream's input. I found if I use returns() to create the first stream the application work very well, but if I use returnAsRow() or returnAsMap() to create the first stream I will get the ArrayIndexOutofBounds exception. But we know that the returns() function use tuple and the tuple has a limitation of 25. So I create a function named returnsTransformRow() to accompolish my goal by row.

haoch commented 5 years ago

LGTM, thanks for contribution @tammypi.