On Tue, Oct 21, 2014 at 12:55 PM, Madhawa Gunasekara <[email protected]>
wrote:

> Hi all,
>
> Can I know how to use attributes from two event streams in Siddhi query, I
> cant use join operator for my purpose. I just need to pass attributes as
> parameters to my custom function.
>
> I just need do something similar to following MySQL.
>
> SELECT a1.attri1, a1.attri2, a2.attri3FROM Activity AS a1 , FROM Test AS a2
>
>
You'll have to join these by some id or some other parameter. The reason is
there will be multiple events coming through both a1, a2 streams at
different times (they are not static like in the DB) and there should be a
way to choose two events from a1 and a2 to perform this operation.


Thanks
Rajeev




> Best Regards.
>
> --
> *Madhawa Gunasekara*
> Software Engineering Intern
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mob: +94719411002
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajeev Sampath
Senior Software Engineer
WSO2, Inc.; http://www.wso2.com.

Mobile:
* +94716265766*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to