Skip to content

Commit

Permalink
Merge pull request #1570 from suhothayan/master
Browse files Browse the repository at this point in the history
Filter does not work when joining with table #1568
  • Loading branch information
mohanvive authored Nov 18, 2019
2 parents f708d16 + 2502d2c commit 8f8b949
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,13 @@ private static FindableProcessor insertJoinProcessorsAndGetFindable(JoinProcesso
((MetaStreamEvent) streamRuntime.getMetaComplexEvent()),
expressionExecutors, configReader, outputExpectsExpiredEvents,
true, false, inputStream, siddhiQueryContext);
lastProcessor = windowProcessor;
if (lastProcessor != null) {
prevLastProcessor = lastProcessor;
prevLastProcessor.setNextProcessor(windowProcessor);
lastProcessor = windowProcessor;
} else {
lastProcessor = windowProcessor;
}
} catch (Throwable t) {
throw new SiddhiAppCreationException(t);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ public void receive(long timeStamp, Event[] inEvents, Event[] removeEvents) {
stockStream.send(new Object[]{"WSO2", 55.6f, 100L});
stockStream.send(new Object[]{"IBM", 75.6f, 10L});
checkStockStream.send(new Object[]{"WSO2"});
checkStockStream.send(new Object[]{"IBM"});

Thread.sleep(500);

Expand Down

0 comments on commit 8f8b949

Please sign in to comment.