Hi Chamila,

Can you send the full execution plan over please?


On Tue, Jan 14, 2014 at 12:53 PM, Chamila Wijayarathna <[email protected]>wrote:

> Hello all,
> I'm trying to create execution plan using following siddhi query.
>
> from str[SrcIp contains '10.100.' and not (SrcIp contains
> '.10.100')]#window.time( 5 min )
> select SrcIp, sum(size) as bandwidth
> group by SrcIp
> insert into currentsums for current_events
> ;
>
> When I try to validate this it says that, "line 4:0 missing EOF at
> 'insert'".
> I have imported str stream properly from a stream returned by an event
> builder.
>
> // *Imported from org.wso2.default.stream.nout:1.0.0*
> define stream *str* (
> *meta_referer* string, *SrcIp* string, *DesrIp* string, *size* long,
> *timestamp* string)
>
> How can I solve this?
>
> --
> *Chamila Wijayarathna*
> Engineering Intern,
> WSO2 Inc.
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Thanks & regards,
Nirmal

Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to