Closed Jaiya94 closed 5 years ago
@Jaiya94, there were two issues,
define trigger TriggerStream at every 10 sec;
define stream Stream1(...); define stream Stream2(...); define stream Stream3(...);
from TriggerStream insert into Stream1;
from TriggerStream insert into Stream2;
from TriggerStream insert into Stream3;
from Stream1#rdbms:query(Correct SQL)...... from Stream2#rdbms:query(Wrong SQL).... from Stream3#rdbms:query(Correct SQL)....
Description: Suppose there is a trigger that trigs every 10 seconds and from that, I am querying DBs(Using SQL queries) and there are 3 queries in siddhi app. Assume that there is a fault in SQL query of the second query out of three and it can not query the DB. And the other two queries are fine. Then when the trigger gets executed it successfully execute the first one and in the second one, it is not showing an exception and also its stop triggering. It is not executing the third one or it is not triggering next time.
Steps to reproduce:
You will see only once the first query will get executed.
Format: define trigger TriggerStream at every 10 sec;
from TriggerStream#rdbms:query(Correct SQL)...... from TriggerStream#rdbms:query(Wrong SQL).... from TriggerStream#rdbms:query(Correct SQL)....