<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-24500</id>
	<title>Nabble - Esper</title>
	<updated>2009-12-16T10:25:20Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Esper-f24500.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Esper-f24500.html" />
	<subtitle type="html">&lt;a href=&quot;http://esper.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Esper&lt;/a&gt;&amp;nbsp;is a component for CEP and ESP applications, available for Java as &lt;b&gt;Esper&lt;/b&gt;, and for .NET as &lt;b&gt;NEsper&lt;/b&gt;.
&lt;br&gt;&lt;br&gt;Esper and NEsper enable rapid development of applications that process large volumes of incoming messages or events. Esper and NEsper filter and analyze events in various ways, and respond to conditions of interest in real-time.
&lt;br&gt;&lt;br&gt;Esper and NEsper were designed to make it easier to build CEP and ESP applications. Esper and NEsper are open-source software available under the GNU General Public License (GPL) license.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26815970</id>
	<title>Re: How many UpdateListener instances?</title>
	<published>2009-12-16T10:25:20Z</published>
	<updated>2009-12-16T10:25:20Z</updated>
	<author>
		<name>António Alegria</name>
	</author>
	<content type="html">Regardless of thread-safety, Esper can lock a listener while it is processing subscribed events.. That is my concern.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Dec 16, 2009 at 4:04 PM, Nicolas Dufour &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26815970&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nrdufour@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;Hello&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I would say that it depends if your listener is thread-safe or not.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;
I have a tendency to never ever write a listener that store a mutable state or so.&lt;/div&gt;&lt;div&gt;&lt;br clear=&quot;all&quot;&gt;
Nicolas Dufour&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26815970&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nrdufour@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;--&lt;br&gt;“Investment in knowledge pays the best interest.”&lt;br&gt;                               —Benjamin Franklin&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/16 António Alegria &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26815970&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antoniomcalegria@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;

Hi!&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If I only have one UpdateListener class, that can handle, in a generic way, any kind of subscribed events, is it OK to have only one instance of it or should I distribute subscribed statements across several similar instances? Is it thread-safe to use a single instance for all statements? What do you recommend in this respect?&lt;/div&gt;


&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;div&gt;António Alegria&lt;/div&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-many-UpdateListener-instances--tp26809445p26815970.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26813620</id>
	<title>Re: How many UpdateListener instances?</title>
	<published>2009-12-16T08:04:07Z</published>
	<updated>2009-12-16T08:04:07Z</updated>
	<author>
		<name>Nicolas Dufour-4</name>
	</author>
	<content type="html">Hello&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I would say that it depends if your listener is thread-safe or not.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I have a tendency to never ever write a listener that store a mutable state or so.&lt;/div&gt;&lt;div&gt;&lt;br clear=&quot;all&quot;&gt;
Nicolas Dufour&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26813620&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nrdufour@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;--&lt;br&gt;“Investment in knowledge pays the best interest.”&lt;br&gt;                               —Benjamin Franklin&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/16 António Alegria &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26813620&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antoniomcalegria@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Hi!&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If I only have one UpdateListener class, that can handle, in a generic way, any kind of subscribed events, is it OK to have only one instance of it or should I distribute subscribed statements across several similar instances? Is it thread-safe to use a single instance for all statements? What do you recommend in this respect?&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;div&gt;António Alegria&lt;/div&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-many-UpdateListener-instances--tp26809445p26813620.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26809445</id>
	<title>How many UpdateListener instances?</title>
	<published>2009-12-16T03:01:47Z</published>
	<updated>2009-12-16T03:01:47Z</updated>
	<author>
		<name>António Alegria</name>
	</author>
	<content type="html">Hi!&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If I only have one UpdateListener class, that can handle, in a generic way, any kind of subscribed events, is it OK to have only one instance of it or should I distribute subscribed statements across several similar instances? Is it thread-safe to use a single instance for all statements? What do you recommend in this respect?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;António Alegria&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-many-UpdateListener-instances--tp26809445p26809445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26802808</id>
	<title>Re: time_batch vs time + output limitation</title>
	<published>2009-12-15T14:17:54Z</published>
	<updated>2009-12-15T14:17:54Z</updated>
	<author>
		<name>António Alegria</name>
	</author>
	<content type="html">I forgot to specify exactly what I&amp;#39;m talking about. The cases I&amp;#39;m interested in are event aggregation, such as calculating an average for a given interval (once every 5 minutes).&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Example:&lt;br&gt;&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;insert into Stats5m&lt;/div&gt;&lt;div&gt;select avg(value)&lt;/div&gt;&lt;div&gt;from InputEvents.win:time_batch(5 minutes)&lt;/div&gt;&lt;div&gt;group by name&lt;/div&gt;&lt;div&gt;having count(*) &amp;gt; 0&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;OR&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
insert into Stats5m&lt;/div&gt;&lt;div&gt;select avg(value)&lt;/div&gt;&lt;div&gt;from InputEvents.win:time(5 minutes)&lt;/div&gt;&lt;div&gt;group by name&lt;/div&gt;&lt;div&gt;&lt;div&gt;having count(*) &amp;gt; 0&lt;/div&gt;&lt;div&gt;&lt;div&gt;output last at(*/5, *, *, *, *)&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/15 António Alegria &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26802808&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antoniomcalegria@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Is there any performance advantage in using time_batch (e.g. win:time_batch(5 minutes)) instead of using a normal win:time with output limitation (e.g. output last at(*/5, *, *, *, *)).&lt;/div&gt;&lt;div&gt;&lt;br&gt;

&lt;/div&gt;&lt;div&gt;It would seem the latter option would create lots more events (and, thus, more objects and memory) but only one would be inserted in the resulting stream each 5 minutes. Am I wrong or is it optimized and it is actually as efficient as an equivalent time_batch?&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;div&gt;António Alegria&lt;/div&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/time_batch-vs-time-%2B-output-limitation-tp26802690p26802808.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26802690</id>
	<title>time_batch vs time + output limitation</title>
	<published>2009-12-15T14:08:34Z</published>
	<updated>2009-12-15T14:08:34Z</updated>
	<author>
		<name>António Alegria</name>
	</author>
	<content type="html">Hi,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Is there any performance advantage in using time_batch (e.g. win:time_batch(5 minutes)) instead of using a normal win:time with output limitation (e.g. output last at(*/5, *, *, *, *)).&lt;/div&gt;&lt;div&gt;&lt;br&gt;
&lt;/div&gt;&lt;div&gt;It would seem the latter option would create lots more events (and, thus, more objects and memory) but only one would be inserted in the resulting stream each 5 minutes. Am I wrong or is it optimized and it is actually as efficient as an equivalent time_batch?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks,&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;António Alegria&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/time_batch-vs-time-%2B-output-limitation-tp26802690p26802690.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26797373</id>
	<title>[jira] Resolved: (ESPER-433) Support variable remove/destroy</title>
	<published>2009-12-15T08:15:55Z</published>
	<updated>2009-12-15T08:15:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Thomas Bernhardt resolved ESPER-433.
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;changes are in bugfix320 branch
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Support variable remove/destroy
&lt;br&gt;&amp;gt; -------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-433
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-433&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-433&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Thomas Bernhardt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; stmt1: create variable x ....
&lt;br&gt;&amp;gt; destroy stmt1
&lt;br&gt;&amp;gt; stmt2: create variable x ...
&lt;br&gt;&amp;gt; fails - that is the x variable is not cleaned up fully (even with no statement refering to it).
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-433%29-Support-variable-remove-destroy-tp26794355p26797373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26797133</id>
	<title>Re: Stuck at NStreamQueryPlanBuilder.computeBestPath</title>
	<published>2009-12-15T08:02:51Z</published>
	<updated>2009-12-15T08:02:51Z</updated>
	<author>
		<name>Thomas Bernhardt</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial,helvetica,sans-serif;font-size:10pt&quot;&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 10pt;&quot;&gt;&lt;span&gt;The problem was captured in &lt;a target=&quot;_blank&quot; href=&quot;http://jira.codehaus.org/browse/ESPER-431&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-431&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;Best regards&lt;br&gt;Tom&lt;br&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 13px;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; pedroteixeira &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26797133&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedro.t@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26797133&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Sun, December 13, 2009 7:09:33 PM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath&lt;br&gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;Hi,&lt;br&gt;&lt;br&gt;I'm finding a bit cumbersome to assert that it *should not* try all&lt;br&gt;permutations.&lt;br&gt;I have just recently started looking at Esper's code, so someone might&lt;br&gt;suggest a better alternative..&lt;br&gt;&lt;br&gt;&lt;br&gt;--- following code cannot be O(n!) ----&lt;br&gt;&lt;br&gt;int numStreams = 15;&lt;br&gt;QueryGraph largeQueryGraph = new QueryGraph(numStreams);&lt;br&gt;HistoricalDependencyGraph dependencyGraph = new&lt;br&gt;HistoricalDependencyGraph(numStreams);&lt;br&gt;NStreamQueryPlanBuilder.BestChainResult bestChain =&lt;br&gt;NStreamQueryPlanBuilder.computeBestPath(0, largeQueryGraph,&lt;br&gt;dependencyGraph);&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,&lt;br&gt;Pedro&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thomas Bernhardt wrote:&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Hi,&lt;br&gt;&amp;gt; can you please create a JIRA and attach the test Java class.&lt;br&gt;&amp;gt; As a workaround to a 15-stream join consider subqueries.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Best regards&lt;br&gt;&amp;gt; Tom&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; ________________________________&lt;br&gt;&amp;gt; From: pedroteixeira &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26797133&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedro.t@...&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26797133&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&amp;gt; Sent: Wed, December 9, 2009 8:10:18 AM&lt;br&gt;&amp;gt; Subject: Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; TYPO. The actual query is more like this:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id =&lt;br&gt;&amp;gt; 1).std:lastevent() as a, Stream(id = 2).std:lastevent() as b, ...,&lt;br&gt;&amp;gt; Stream(id&lt;br&gt;&amp;gt; =10).std:lastevent() as j&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; pedroteixeira wrote:&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; Hello,&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; I've stumbled across a problem, but need some help to understand what it&lt;br&gt;&amp;gt;&amp;gt; is the intended behavior of the NStreamQueryPlanBuilder class.&amp;nbsp; Perhaps,&lt;br&gt;&amp;gt;&amp;gt; someone has already had this problem,
 but I was not able to find in the&lt;br&gt;&amp;gt;&amp;gt; archive.&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; I have a query which joins 10 streams in the following manner:&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id = 1) as a,&lt;br&gt;&amp;gt;&amp;gt; Stream(id = 2) as b, ..., Stream(id =10) as j&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; The esper engine gets stuck in the &quot;computeBestPath&quot; method, consuming&lt;br&gt;&amp;gt;&amp;gt; one&lt;br&gt;&amp;gt;&amp;gt; of the CPUs allocated to the running thread. With yourkit, I extracted&lt;br&gt;&amp;gt;&amp;gt; the&lt;br&gt;&amp;gt;&amp;gt; following stack trace:&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.collection.PermutationEnumeration.nextElement()&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.collection.NumberSetPermutationEnumeration.nextElement()&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.computeBestPath(int,&lt;br&gt;&amp;gt;&amp;gt; QueryGraph, HistoricalDependencyGraph)&lt;br&gt;&amp;gt;&amp;gt;
 com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.build(QueryGraph,&lt;br&gt;&amp;gt;&amp;gt; EventType[], boolean, boolean[], HistoricalDependencyGraph,&lt;br&gt;&amp;gt;&amp;gt; HistoricalStreamIndexList[])&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.QueryPlanBuilder.getPlan(EventType[],&lt;br&gt;&amp;gt;&amp;gt; List, QueryGraph, String[], boolean, boolean[],&lt;br&gt;&amp;gt;&amp;gt; HistoricalDependencyGraph, HistoricalStreamIndexList[],&lt;br&gt;&amp;gt;&amp;gt; ExprEvaluatorContext)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.JoinSetComposerFactoryImpl.makeComposer(List,&lt;br&gt;&amp;gt;&amp;gt; ExprNode, EventType[], String[], Viewable[],&lt;br&gt;&amp;gt;&amp;gt; SelectClauseStreamSelectorEnum, StreamJoinAnalysisResult,&lt;br&gt;&amp;gt;&amp;gt; ExprEvaluatorContext)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.handleJoin(String[],&lt;br&gt;&amp;gt;&amp;gt; EventType[], Viewable[], ResultSetProcessor,&lt;br&gt;&amp;gt;&amp;gt; SelectClauseStreamSelectorEnum, StatementContext, List,&lt;br&gt;&amp;gt;&amp;gt; StreamJoinAnalysisResult)&lt;br&gt;&amp;gt;&amp;gt;
 com.espertech.esper.core.EPStatementStartMethod.startSelect(boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.start(boolean, boolean,&lt;br&gt;&amp;gt;&amp;gt; boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.startInternal(String,&lt;br&gt;&amp;gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.start(String,&lt;br&gt;&amp;gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,&lt;br&gt;&amp;gt;&amp;gt; String, boolean, String, String, Map, Object, EPIsolationUnitServices)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,&lt;br&gt;&amp;gt;&amp;gt; String, boolean, String, Object, EPIsolationUnitServices)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel,&lt;br&gt;&amp;gt;&amp;gt; String)&lt;br&gt;&amp;gt;&amp;gt;
 com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel)&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; There seems to be some sort of caveat in the &quot;computeBestPath&quot; method,&lt;br&gt;&amp;gt;&amp;gt; since it might have to try 15! combinations (in my case). Is that really&lt;br&gt;&amp;gt;&amp;gt; intented?&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; Thanks a bunch,&lt;br&gt;&amp;gt;&amp;gt; Pedro&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; -- &lt;br&gt;&amp;gt; View this message in context:&lt;/div&gt;&lt;span&gt;&amp;gt; &lt;a target=&quot;_blank&quot; href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&amp;gt; Sent from the Esper User list mailing list archive at &lt;a target=&quot;_blank&quot; href=&quot;http://Nabble.com&quot; rel=&quot;nofollow&quot;&gt;Nabble.com&lt;/a&gt;.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;&amp;gt; To unsubscribe from this list,
 please visit:&lt;br&gt;&amp;gt; &lt;br&gt;&lt;span&gt;&amp;gt;&amp;nbsp; &amp;nbsp;  &lt;a target=&quot;_blank&quot; href=&quot;http://xircles.codehaus.org/manage_email&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;br&gt;&amp;gt; &lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;span&gt;View this message in context: &lt;a target=&quot;_blank&quot; href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26771259.html&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26771259.html&lt;/a&gt;&lt;/span&gt;&lt;br&gt;Sent from the Esper User list mailing list archive at Nabble.com.&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe from this list, please visit:&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt; &lt;!--//--&gt;&lt;/div&gt;&lt;br&gt;



      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26797133.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26796994</id>
	<title>Esper 3.3 release Thursday 12/17</title>
	<published>2009-12-15T07:53:41Z</published>
	<updated>2009-12-15T07:53:41Z</updated>
	<author>
		<name>Thomas Bernhardt</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial,helvetica,sans-serif;font-size:10pt&quot;&gt;&lt;div&gt;We are planning to complete release 3.3 on Thursday Dec. 17, please make any final contributions available by end of day tomorrow.&lt;br&gt;&lt;br&gt;Best regards,&lt;br&gt;Tom &lt;br&gt;&lt;/div&gt; &lt;!--//--&gt;&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Esper-3.3-release-Thursday-12-17-tp26796994p26796994.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26796711</id>
	<title>group by , HAVING, groupby()</title>
	<published>2009-12-15T07:35:31Z</published>
	<updated>2009-12-15T07:35:31Z</updated>
	<author>
		<name>Alex _</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;&quot;&gt;&lt;div&gt;Hi, &lt;br&gt;I am trying to get &quot;groupby&quot; and &quot;group by&quot;&amp;nbsp; to work together. &lt;br&gt;&lt;br&gt;select a.symbol as symbol&amp;nbsp;&amp;nbsp; &lt;br&gt;,&amp;nbsp; stddev(a.price)&amp;nbsp; as price &lt;br&gt;,&amp;nbsp; count(*)&amp;nbsp; as count&lt;br&gt;from PriceEvent.std:groupby(symbol).win:length(800) as a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;group by a.symbol&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;having&amp;nbsp; stddev(a.price) &amp;gt; .1&lt;br&gt;&lt;br&gt;&lt;br&gt;I want group symbols individually so each symbol will have its own 800 events in its window. I also only want to output if that symbol's
 stddev is greater than .1. However, it seems the above query's HAVING clause works on an 800 event window that uses all the symbols.&lt;br&gt;&lt;br&gt;Note, I only use the count(*) to see how many events are in a symbol's window.&lt;br&gt;&lt;/div&gt;
&lt;!-- cg5.c201.mail.mud.yahoo.com compressed/chunked Tue Dec 15 06:02:23 PST 2009 --&gt;
&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/group-by-%2C-HAVING%2C-groupby%28%29-tp26796711p26796711.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26795198</id>
	<title>[jira] Resolved: (ESPER-432) Dangling meta character in regexp hangs the engine</title>
	<published>2009-12-15T05:56:55Z</published>
	<updated>2009-12-15T05:56:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Thomas Bernhardt resolved ESPER-432.
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 3.3
&lt;br&gt;&lt;br&gt;Resolved in release 3.2 bugfix branch
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dangling meta character in regexp hangs the engine
&lt;br&gt;&amp;gt; --------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-432
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: TestRegexpExpression.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Creating the following stmt: &amp;nbsp;
&lt;br&gt;&amp;gt; select * from SupportBean where string regexp &amp;quot;*any*&amp;quot;
&lt;br&gt;&amp;gt; will (correctly) raise an java.util.regex.PatternSyntaxException, 
&lt;br&gt;&amp;gt; but all subsequent calls to the EPServiceProvider are blocked.
&lt;br&gt;&amp;gt; It seems a locking issue, but I was not able to find it. 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-432%29-Dangling-meta-character-in-regexp-hangs-the-engine-tp26788175p26795198.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26794888</id>
	<title>[jira] Commented: (ESPER-432) Dangling meta character in regexp hangs the engine</title>
	<published>2009-12-15T05:34:55Z</published>
	<updated>2009-12-15T05:34:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202677#action_202677&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202677#action_202677&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Pedro Teixeira commented on ESPER-432:
&lt;br&gt;--------------------------------------
&lt;br&gt;&lt;br&gt;jira removed the asterix surrounding &amp;quot;any&amp;quot; from the EPL.
&lt;br&gt;The exception happens when typing regexp &amp;quot;[asterix]any[/asterix]&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dangling meta character in regexp hangs the engine
&lt;br&gt;&amp;gt; --------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-432
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: TestRegexpExpression.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Creating the following stmt: &amp;nbsp;
&lt;br&gt;&amp;gt; select * from SupportBean where string regexp &amp;quot;*any*&amp;quot;
&lt;br&gt;&amp;gt; will (correctly) raise an java.util.regex.PatternSyntaxException, 
&lt;br&gt;&amp;gt; but all subsequent calls to the EPServiceProvider are blocked.
&lt;br&gt;&amp;gt; It seems a locking issue, but I was not able to find it. 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-432%29-Dangling-meta-character-in-regexp-hangs-the-engine-tp26788175p26794888.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26794865</id>
	<title>[jira] Commented: (ESPER-432) Dangling meta character in regexp hangs the engine</title>
	<published>2009-12-15T05:32:55Z</published>
	<updated>2009-12-15T05:32:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202675#action_202675&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202675#action_202675&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Pedro Teixeira commented on ESPER-432:
&lt;br&gt;--------------------------------------
&lt;br&gt;&lt;br&gt;Thomas, I already had attached a unit test with the issue. Does it pass for you?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dangling meta character in regexp hangs the engine
&lt;br&gt;&amp;gt; --------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-432
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: TestRegexpExpression.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Creating the following stmt: &amp;nbsp;
&lt;br&gt;&amp;gt; select * from SupportBean where string regexp &amp;quot;*any*&amp;quot;
&lt;br&gt;&amp;gt; will (correctly) raise an java.util.regex.PatternSyntaxException, 
&lt;br&gt;&amp;gt; but all subsequent calls to the EPServiceProvider are blocked.
&lt;br&gt;&amp;gt; It seems a locking issue, but I was not able to find it. 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-432%29-Dangling-meta-character-in-regexp-hangs-the-engine-tp26788175p26794865.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26794355</id>
	<title>[jira] Created: (ESPER-433) Support variable remove/destroy</title>
	<published>2009-12-15T04:57:55Z</published>
	<updated>2009-12-15T04:57:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Support variable remove/destroy
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: ESPER-433
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-433&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-433&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Esper
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Thomas Bernhardt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 3.3
&lt;br&gt;&lt;br&gt;&lt;br&gt;stmt1: create variable x ....
&lt;br&gt;destroy stmt1
&lt;br&gt;stmt2: create variable x ...
&lt;br&gt;&lt;br&gt;fails - that is the x variable is not cleaned up fully (even with no statement refering to it).
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-433%29-Support-variable-remove-destroy-tp26794355p26794355.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26789814</id>
	<title>[jira] Commented: (ESPER-432) Dangling meta character in regexp hangs the engine</title>
	<published>2009-12-14T21:48:55Z</published>
	<updated>2009-12-14T21:48:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202645#action_202645&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202645#action_202645&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Thomas Bernhardt commented on ESPER-432:
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;Please provide test case, cannot reproduce.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dangling meta character in regexp hangs the engine
&lt;br&gt;&amp;gt; --------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-432
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: TestRegexpExpression.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Creating the following stmt: &amp;nbsp;
&lt;br&gt;&amp;gt; select * from SupportBean where string regexp &amp;quot;*any*&amp;quot;
&lt;br&gt;&amp;gt; will (correctly) raise an java.util.regex.PatternSyntaxException, 
&lt;br&gt;&amp;gt; but all subsequent calls to the EPServiceProvider are blocked.
&lt;br&gt;&amp;gt; It seems a locking issue, but I was not able to find it. 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-432%29-Dangling-meta-character-in-regexp-hangs-the-engine-tp26788175p26789814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26788175</id>
	<title>[jira] Created: (ESPER-432) Dangling meta character in regexp hangs the engine</title>
	<published>2009-12-14T17:48:55Z</published>
	<updated>2009-12-14T17:48:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Dangling meta character in regexp hangs the engine
&lt;br&gt;--------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: ESPER-432
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-432&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-432&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Esper
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Pedro Teixeira
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Critical
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Attachments: TestRegexpExpression.java
&lt;br&gt;&lt;br&gt;Creating the following stmt: &amp;nbsp;
&lt;br&gt;&lt;br&gt;select * from SupportBean where string regexp &amp;quot;*any*&amp;quot;
&lt;br&gt;&lt;br&gt;will (correctly) raise an java.util.regex.PatternSyntaxException, 
&lt;br&gt;but all subsequent calls to the EPServiceProvider are blocked.
&lt;br&gt;&lt;br&gt;&lt;br&gt;It seems a locking issue, but I was not able to find it. 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-432%29-Dangling-meta-character-in-regexp-hangs-the-engine-tp26788175p26788175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26785679</id>
	<title>[jira] Resolved: (ESPER-431) 20-stream join hangs query optimizer</title>
	<published>2009-12-14T13:59:55Z</published>
	<updated>2009-12-14T13:59:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Thomas Bernhardt resolved ESPER-431.
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;in 3.3 release
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 20-stream join hangs query optimizer
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-431
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-431&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-431&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Thomas Bernhardt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sample:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringWriter buf = new StringWriter();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(&amp;quot;select * from &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String delimiter = &amp;quot;&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; 20; i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(delimiter);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(&amp;quot;S0(id=&amp;quot; + i + &amp;quot;).std:lastevent() as s_&amp;quot; + i);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delimiter = &amp;quot;, &amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EPStatement stmt = epService.getEPAdministrator().createEPL(buf.toString());
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-431%29-20-stream-join-hangs-query-optimizer-tp26780594p26785679.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26780596</id>
	<title>[jira] Commented: (ESPER-431) 20-stream join hangs query optimizer</title>
	<published>2009-12-14T08:24:56Z</published>
	<updated>2009-12-14T08:24:56Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202544#action_202544&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202544#action_202544&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Thomas Bernhardt commented on ESPER-431:
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;Workaround is to use subqueries.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 20-stream join hangs query optimizer
&lt;br&gt;&amp;gt; ------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-431
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-431&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-431&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Thomas Bernhardt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 3.3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sample:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringWriter buf = new StringWriter();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(&amp;quot;select * from &amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String delimiter = &amp;quot;&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; 20; i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(delimiter);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(&amp;quot;S0(id=&amp;quot; + i + &amp;quot;).std:lastevent() as s_&amp;quot; + i);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delimiter = &amp;quot;, &amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EPStatement stmt = epService.getEPAdministrator().createEPL(buf.toString());
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-431%29-20-stream-join-hangs-query-optimizer-tp26780594p26780596.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26780594</id>
	<title>[jira] Created: (ESPER-431) 20-stream join hangs query optimizer</title>
	<published>2009-12-14T08:24:56Z</published>
	<updated>2009-12-14T08:24:56Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">20-stream join hangs query optimizer
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: ESPER-431
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-431&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-431&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Esper
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Thomas Bernhardt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 3.3
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Sample:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringWriter buf = new StringWriter();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(&amp;quot;select * from &amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String delimiter = &amp;quot;&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; 20; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(delimiter);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf.append(&amp;quot;S0(id=&amp;quot; + i + &amp;quot;).std:lastevent() as s_&amp;quot; + i);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; delimiter = &amp;quot;, &amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EPStatement stmt = epService.getEPAdministrator().createEPL(buf.toString());
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-431%29-20-stream-join-hangs-query-optimizer-tp26780594p26780594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26780111</id>
	<title>Re: Retrieving events prior an event</title>
	<published>2009-12-14T07:55:36Z</published>
	<updated>2009-12-14T07:55:36Z</updated>
	<author>
		<name>Thomas Bernhardt</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial,helvetica,sans-serif;font-size:10pt&quot;&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 10pt;&quot;&gt;Hi Nat,&lt;br&gt;&lt;br&gt;the rest of your message got cut off. We'll look at the instanceof in match_recognize.&lt;br&gt;The dynamic properties are further way to go, or adding a property that returns the type to your event would also be a simple solution.&lt;br&gt;&lt;br&gt;Best regards&lt;br&gt;Tom&lt;br&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 13px;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; Nat Luengnaruemitchai &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26780111&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nat.lueng@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26780111&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Sun, December 13, 2009 11:19:41 AM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; RE: [esper-user] Retrieving
 events prior an event&lt;br&gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;-----Original Message-----&lt;br&gt;From: CédricMoonen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26780111&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;Sent: Thursday, December 10, 2009 9:53 PM&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26780111&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;Subject: Re: [esper-user] Retrieving events prior an event&lt;br&gt;&lt;br&gt;Hello Thomas,&lt;br&gt;&lt;br&gt;Thanks for the reply, but I still can't reach a good solution for this...&lt;br&gt;&lt;br&gt;If I use the match_recognize, I end up with something like this:&lt;br&gt;select * from BaseEvent&lt;br&gt;match_recognize(&lt;br&gt;&amp;nbsp;  measures A as start, B as stop&lt;br&gt;&amp;nbsp;  pattern(A B)&lt;br&gt;&amp;nbsp;  define&lt;br&gt;&amp;nbsp; &amp;nbsp;  B as instanceof(B, DerivedEvent)&lt;br&gt;)&lt;br&gt;&lt;br&gt;This gives an error (Incorrect syntax near 'B'). &lt;br&gt;Furthermore, I still can't access the fields &lt;br&gt;specific to DerivedEvent (or I have to use the &lt;br&gt;cast function and I will end up with something
 extremely complicated).&lt;br&gt;&lt;br&gt;I tried also using the prev function and it could &lt;br&gt;almost do what I'm looking for, except that the &lt;br&gt;prev function selects only a field, and not the &lt;br&gt;complette event. Is it possible to have something like this:&lt;br&gt;&lt;br&gt;&lt;br&gt;[The entire original message is not included]&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe from this list, please visit:&lt;br&gt;&lt;br&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;a target=&quot;_blank&quot; href=&quot;http://xircles.codehaus.org/manage_email&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg23.c1.mail.mud.yahoo.com compressed/chunked Fri Dec 11 04:53:21 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Retrieving-events-prior-an-event-tp26691705p26780111.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26774086</id>
	<title>Blocking statement</title>
	<published>2009-12-13T23:53:30Z</published>
	<updated>2009-12-13T23:53:30Z</updated>
	<author>
		<name>Onur Tokan-2</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
&amp;nbsp;&lt;BR&gt;
Hi - I'm evaluating esper for high arrival streams which has also high matching ratio. On the documentation it states, consider to use multiple statements and distribute the streams over those statements yet the blocking is statement level. Which makes sense to me if the statement has finite state like select sum(price) as total_price from invoice. &lt;BR&gt;&amp;nbsp;&lt;BR&gt;But what I observed is, the engine is also blocking non finite state statements like select * from invoice (price &amp;lt; 100).&amp;nbsp; I made this conclusion nothing but the benchmarking so I am not sure It's blocking at all. &lt;BR&gt;&amp;nbsp;&lt;BR&gt;I wonder, is the engine is really blocking those kind of statements, if yes why? if no, what reduces my throughput when the hitting ratio increases.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;I've added the related documentation for easy reference.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Best Regards,&lt;BR&gt;Onur&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;14.2.14. High-Arrival-Rate Streams and Single Statements&lt;BR&gt;&amp;nbsp;&lt;BR&gt;A statement is associated with certain statement state that consists of current aggregation values, partial pattern matches, data windows or other view state depending on whether your statement uses such constructs. When an engine receives events it updates statement state under locking such that statement state remains consistent under concurrent multi-threaded access.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;For high-volume streams, the locking required to protected statement state may slow down or introduce blocking for very high arrival rates of events that apply to the very same statement and its state. You may want to consider splitting a single statement into multiple statements that each look for a certain subset of the high-arrival-rate stream. There is very little cost in terms of memory or CPU resources per statement, the engine can handle larger number of statements usually as efficiently as single statements.&lt;BR&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Windows Live Hotmail:  &lt;a href='http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:tr-tr:SI_SB_4:092009' target='_new' rel=&quot;nofollow&quot;&gt;Arkadaşlarınız Facebook'taki güncellemelerinizi doğrudan Hotmail®'den görür.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Conflict-Management-tp26761379p26774086.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26771259</id>
	<title>Re: Stuck at NStreamQueryPlanBuilder.computeBestPath</title>
	<published>2009-12-13T16:09:33Z</published>
	<updated>2009-12-13T16:09:33Z</updated>
	<author>
		<name>pedroteixeira</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I'm finding a bit cumbersome to assert that it *should not* try all permutations.
&lt;br&gt;I have just recently started looking at Esper's code, so someone might suggest a better alternative..
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- following code cannot be O(n!) ----
&lt;br&gt;&lt;br&gt;int numStreams = 15;
&lt;br&gt;QueryGraph largeQueryGraph = new QueryGraph(numStreams);
&lt;br&gt;HistoricalDependencyGraph dependencyGraph = new HistoricalDependencyGraph(numStreams);
&lt;br&gt;NStreamQueryPlanBuilder.BestChainResult bestChain = NStreamQueryPlanBuilder.computeBestPath(0, largeQueryGraph, dependencyGraph);
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;Pedro
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Thomas Bernhardt wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;can you please create a JIRA and attach the test Java class.
&lt;br&gt;As a workaround to a 15-stream join consider subqueries.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br&gt;________________________________
&lt;br&gt;From: pedroteixeira &amp;lt;pedro.t@gmail.com&amp;gt;
&lt;br&gt;To: user@esper.codehaus.org
&lt;br&gt;Sent: Wed, December 9, 2009 8:10:18 AM
&lt;br&gt;Subject: Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;TYPO. The actual query is more like this:
&lt;br&gt;&lt;br&gt;select a.value, b.value, c.value ... j.value from Stream(id =
&lt;br&gt;1).std:lastevent() as a, Stream(id = 2).std:lastevent() as b, ..., Stream(id
&lt;br&gt;=10).std:lastevent() as j
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;pedroteixeira wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've stumbled across a problem, but need some help to understand what it
&lt;br&gt;&amp;gt; is the intended behavior of the NStreamQueryPlanBuilder class. &amp;nbsp;Perhaps,
&lt;br&gt;&amp;gt; someone has already had this problem, but I was not able to find in the
&lt;br&gt;&amp;gt; archive.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a query which joins 10 streams in the following manner:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id = 1) as a,
&lt;br&gt;&amp;gt; Stream(id = 2) as b, ..., Stream(id =10) as j
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The esper engine gets stuck in the &amp;quot;computeBestPath&amp;quot; method, consuming one
&lt;br&gt;&amp;gt; of the CPUs allocated to the running thread. With yourkit, I extracted the
&lt;br&gt;&amp;gt; following stack trace:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; com.espertech.esper.collection.PermutationEnumeration.nextElement()
&lt;br&gt;&amp;gt; com.espertech.esper.collection.NumberSetPermutationEnumeration.nextElement()
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.computeBestPath(int,
&lt;br&gt;&amp;gt; QueryGraph, HistoricalDependencyGraph)
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.build(QueryGraph,
&lt;br&gt;&amp;gt; EventType[], boolean, boolean[], HistoricalDependencyGraph,
&lt;br&gt;&amp;gt; HistoricalStreamIndexList[])
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.plan.QueryPlanBuilder.getPlan(EventType[],
&lt;br&gt;&amp;gt; List, QueryGraph, String[], boolean, boolean[],
&lt;br&gt;&amp;gt; HistoricalDependencyGraph, HistoricalStreamIndexList[],
&lt;br&gt;&amp;gt; ExprEvaluatorContext)
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.JoinSetComposerFactoryImpl.makeComposer(List,
&lt;br&gt;&amp;gt; ExprNode, EventType[], String[], Viewable[],
&lt;br&gt;&amp;gt; SelectClauseStreamSelectorEnum, StreamJoinAnalysisResult,
&lt;br&gt;&amp;gt; ExprEvaluatorContext)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.handleJoin(String[],
&lt;br&gt;&amp;gt; EventType[], Viewable[], ResultSetProcessor,
&lt;br&gt;&amp;gt; SelectClauseStreamSelectorEnum, StatementContext, List,
&lt;br&gt;&amp;gt; StreamJoinAnalysisResult)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.startSelect(boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.start(boolean, boolean,
&lt;br&gt;&amp;gt; boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.startInternal(String,
&lt;br&gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.start(String,
&lt;br&gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,
&lt;br&gt;&amp;gt; String, boolean, String, String, Map, Object, EPIsolationUnitServices)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,
&lt;br&gt;&amp;gt; String, boolean, String, Object, EPIsolationUnitServices)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel,
&lt;br&gt;&amp;gt; String)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There seems to be some sort of caveat in the &amp;quot;computeBestPath&amp;quot; method,
&lt;br&gt;&amp;gt; since it might have to try 15! combinations (in my case). Is that really
&lt;br&gt;&amp;gt; intented?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks a bunch,
&lt;br&gt;&amp;gt; Pedro
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&lt;/a&gt;&lt;br&gt;Sent from the Esper User list mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26771259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26767385</id>
	<title>RE: Retrieving events prior an event</title>
	<published>2009-12-13T08:19:41Z</published>
	<updated>2009-12-13T08:19:41Z</updated>
	<author>
		<name>Nat Luengnaruemitchai</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: CédricMoonen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26767385&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, December 10, 2009 9:53 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26767385&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [esper-user] Retrieving events prior an event
&lt;br&gt;&lt;br&gt;Hello Thomas,
&lt;br&gt;&lt;br&gt;Thanks for the reply, but I still can't reach a good solution for this...
&lt;br&gt;&lt;br&gt;If I use the match_recognize, I end up with something like this:
&lt;br&gt;select * from BaseEvent
&lt;br&gt;match_recognize(
&lt;br&gt;&amp;nbsp; &amp;nbsp;measures A as start, B as stop
&lt;br&gt;&amp;nbsp; &amp;nbsp;pattern(A B)
&lt;br&gt;&amp;nbsp; &amp;nbsp;define
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;B as instanceof(B, DerivedEvent)
&lt;br&gt;)
&lt;br&gt;&lt;br&gt;This gives an error (Incorrect syntax near 'B'). 
&lt;br&gt;Furthermore, I still can't access the fields 
&lt;br&gt;specific to DerivedEvent (or I have to use the 
&lt;br&gt;cast function and I will end up with something extremely complicated).
&lt;br&gt;&lt;br&gt;I tried also using the prev function and it could 
&lt;br&gt;almost do what I'm looking for, except that the 
&lt;br&gt;prev function selects only a field, and not the 
&lt;br&gt;complette event. Is it possible to have something like this:
&lt;br&gt;&lt;br&gt;&lt;br&gt;[The entire original message is not included]
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Retrieving-events-prior-an-event-tp26691705p26767385.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26761379</id>
	<title>Conflict Management</title>
	<published>2009-12-12T13:41:32Z</published>
	<updated>2009-12-12T13:41:32Z</updated>
	<author>
		<name>Nicolas Dufour-4</name>
	</author>
	<content type="html">Hello&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My current engine is correlating events of a unique type according to certain criteria.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;When the listener is fired. it aggregate those correlated events under a &amp;quot;master&amp;quot; event.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;My problem is I can have multiple statements firing that listener on a similar set of events.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Example:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;t0 - A(1)&lt;/div&gt;&lt;div&gt;t1 - A(2)&lt;/div&gt;&lt;div&gt;t2 - A(3)  &lt;/div&gt;
&lt;div&gt;--&amp;gt; correlate A(2) and A(3) because it&amp;#39;s on the switch. (statement 1)&lt;/div&gt;&lt;div&gt;--&amp;gt; correlate A(1), A(2) and A(3) because it&amp;#39;s the same domain (statement 2).&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;In that case I&amp;#39;m searching a way to make sure the listener attached to statement 2 is indeed fired but the not the one attached to statement 1.&lt;/div&gt;
&lt;div&gt;The idea behind is: It&amp;#39;s more *important* to detect statement 2 than statement 1.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I tried to use @Priority but it&amp;#39;s just changing the order of firing.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Any idea would be appreciated.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you&lt;/div&gt;&lt;div&gt;&lt;br clear=&quot;all&quot;&gt;Nicolas Dufour&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26761379&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nrdufour@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;--&lt;br&gt;“Investment in knowledge pays the best interest.”&lt;br&gt;                               —Benjamin Franklin&lt;br&gt;

&lt;/div&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Conflict-Management-tp26761379p26761379.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26752531</id>
	<title>[jira] Updated: (ESPER-430) PlugInProjectionExpression should allow more than one expression</title>
	<published>2009-12-11T14:43:55Z</published>
	<updated>2009-12-11T14:43:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pedro Teixeira updated ESPER-430:
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: ESPER-430.patch
&lt;br&gt;&lt;br&gt;Changing Expressions facade also.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; PlugInProjectionExpression should allow more than one expression
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-430
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: ESPER-430.patch, ESPER-430.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;select customAgg(foo, barr) from Movies&amp;quot; is a valid EPL but when converted to an object model and then back to EPL, it becomes:
&lt;br&gt;&amp;gt; &amp;quot;select customAgg(foo) from Movies&amp;quot;.
&lt;br&gt;&amp;gt; Perhaps it is just a matter of changing PlugInProjectionExpression.toEPL
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-430%29-PlugInProjectionExpression-should-allow-more-than-one-expression-tp26751642p26752531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26752435</id>
	<title>[jira] Updated: (ESPER-430) PlugInProjectionExpression should allow more than one expression</title>
	<published>2009-12-11T14:32:55Z</published>
	<updated>2009-12-11T14:32:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pedro Teixeira updated ESPER-430:
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: ESPER-430.patch
&lt;br&gt;&lt;br&gt;&lt;br&gt;The test case in this patch would benefit from someone suggesting a less fragile assertion.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; PlugInProjectionExpression should allow more than one expression
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-430
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: ESPER-430.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;select customAgg(foo, barr) from Movies&amp;quot; is a valid EPL but when converted to an object model and then back to EPL, it becomes:
&lt;br&gt;&amp;gt; &amp;quot;select customAgg(foo) from Movies&amp;quot;.
&lt;br&gt;&amp;gt; Perhaps it is just a matter of changing PlugInProjectionExpression.toEPL
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-430%29-PlugInProjectionExpression-should-allow-more-than-one-expression-tp26751642p26752435.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26751668</id>
	<title>[jira] Commented: (ESPER-430) PlugInProjectionExpression should allow more than one expression</title>
	<published>2009-12-11T13:26:55Z</published>
	<updated>2009-12-11T13:26:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202306#action_202306&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=202306#action_202306&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Pedro Teixeira commented on ESPER-430:
&lt;br&gt;--------------------------------------
&lt;br&gt;&lt;br&gt;I've started working on a patch... let's see if it works ;)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; PlugInProjectionExpression should allow more than one expression
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-430
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Core
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;select customAgg(foo, barr) from Movies&amp;quot; is a valid EPL but when converted to an object model and then back to EPL, it becomes:
&lt;br&gt;&amp;gt; &amp;quot;select customAgg(foo) from Movies&amp;quot;.
&lt;br&gt;&amp;gt; Perhaps it is just a matter of changing PlugInProjectionExpression.toEPL
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-430%29-PlugInProjectionExpression-should-allow-more-than-one-expression-tp26751642p26751668.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26751642</id>
	<title>[jira] Created: (ESPER-430) PlugInProjectionExpression should allow more than one expression</title>
	<published>2009-12-11T13:24:55Z</published>
	<updated>2009-12-11T13:24:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">PlugInProjectionExpression should allow more than one expression
&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: ESPER-430
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-430&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-430&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Esper
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Core
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Pedro Teixeira
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;select customAgg(foo, barr) from Movies&amp;quot; is a valid EPL but when converted to an object model and then back to EPL, it becomes:
&lt;br&gt;&amp;quot;select customAgg(foo) from Movies&amp;quot;.
&lt;br&gt;&lt;br&gt;Perhaps it is just a matter of changing PlugInProjectionExpression.toEPL
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-430%29-PlugInProjectionExpression-should-allow-more-than-one-expression-tp26751642p26751642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727662</id>
	<title>[jira] Updated: (ESPER-429) Replace &quot;childNodeType&quot; with &quot;parameterType&quot; in section 12.2.3</title>
	<published>2009-12-10T05:58:55Z</published>
	<updated>2009-12-10T05:58:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Pedro Teixeira updated ESPER-429:
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: esper-429.diff
&lt;br&gt;&lt;br&gt;patch for doc
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Replace &amp;quot;childNodeType&amp;quot; with &amp;quot;parameterType&amp;quot; in section 12.2.3
&lt;br&gt;&amp;gt; --------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: ESPER-429
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-429&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-429&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: Esper
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: Documentation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 3.2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Pedro Teixeira
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Trivial
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: esper-429.diff
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 5 minutes
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 5 minutes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; replace &amp;quot;childNodeType&amp;quot; with &amp;quot;parameterType&amp;quot; in the following extract in section 12.2.3:
&lt;br&gt;&amp;gt; public void validateMultiParameter(Class[] parameterType, 
&lt;br&gt;&amp;gt; &amp;nbsp; boolean[] isConstantValue, 
&lt;br&gt;&amp;gt; &amp;nbsp; Object[] constantValue) {
&lt;br&gt;&amp;gt; &amp;nbsp; super.validateMultiParameter(childNodeType, isConstantValue, constantValue);
&lt;br&gt;&amp;gt; &amp;nbsp; if ((childNodeType[0] != Integer.class) || (childNodeType[1] != Integer.class)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; throw new IllegalArgumentException(&amp;quot;Expected integer bounds&amp;quot;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-429%29-Replace-%22childNodeType%22-with-%22parameterType%22-in-section-12.2.3-tp26727296p26727662.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727578</id>
	<title>Re: Retrieving events prior an event</title>
	<published>2009-12-10T05:53:25Z</published>
	<updated>2009-12-10T05:53:25Z</updated>
	<author>
		<name>Cédric Moonen</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;body&gt;
Hello Thomas,&lt;br&gt;&lt;br&gt;
Thanks for the reply, but I still can't reach a good solution for this...
&lt;br&gt;&lt;br&gt;
If I use the match_recognize, I end up with something like this:&lt;br&gt;
&lt;i&gt;select * from BaseEvent&lt;br&gt;
match_recognize(&lt;br&gt;
&amp;nbsp; measures A as start, B as stop&lt;br&gt;
&amp;nbsp; pattern(A B)&lt;br&gt;
&amp;nbsp; define&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; B as instanceof(B, DerivedEvent)&lt;br&gt;
)&lt;br&gt;&lt;br&gt;
&lt;/i&gt;This gives an error (Incorrect syntax near 'B'). Furthermore, I still
can't access the fields specific to DerivedEvent (or I have to use the
cast function and I will end up with something extremely
complicated).&lt;br&gt;&lt;br&gt;
I tried also using the prev function and it could almost do what I'm
looking for, except that the prev function selects only a field, and not
the complette event. Is it possible to have something like this:&lt;br&gt;
&lt;i&gt;select prev(5, BaseEvent) from DerivedEvent(....) unidirectional,
BaseEvent.win:length(5)&lt;br&gt;&lt;br&gt;
&lt;/i&gt;So, in the prev function I select the full BaseEvent (of course, this
gives an error stating that BaseEvent is not valid in any streams).
&lt;br&gt;&lt;br&gt;
I really would like to find an elegant solution to this problem but it
seems there's none :(. The problem seemed to be very simple but trying to
express that in Esper is much more complicated than I first
thought.&lt;br&gt;&lt;br&gt;
Thanks for any additional feedback.&lt;br&gt;
Cédric&lt;br&gt;&lt;br&gt;
At 14:14 10/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=cite class=cite cite=&quot;&quot;&gt;Hi Cedric,&lt;br&gt;&lt;br&gt;
match recognize can also work with variant streams, i.e. multiple types
of events. Yes followed-by in a pattern is another way, and a
where-clause against &amp;quot;prev&amp;quot; is also possible for example with
length window.&lt;br&gt;&lt;br&gt;
Best regards&lt;br&gt;
Tom&lt;br&gt;
&lt;br&gt;
&lt;font face=&quot;Tahoma&quot; size=2&gt;&lt;b&gt;From:&lt;/b&gt; Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Wed, December 9, 2009 5:02:00 AM&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [esper-user] Retrieving events prior an event&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
Hello Thomas,&lt;br&gt;&lt;br&gt;
I've looked at the documentation of Esper 3.2 and this is a new feature
(we were still using 3.1). It looks indeed very promising to use the
match-recognize. I will have to experiment with it but I think what might
be a problem (not sure for now) is that you can only work with one type
of events. Luckily, all our events have the same common base class so
there is probably a work around here if we are able to specify a more
defined type in the define clause. Is that possible ?&lt;br&gt;
By the way, I realized that I made a small mistake in my previous
example: what should be retrieved is &amp;quot;A3 B1&amp;quot; and &amp;quot;A12
B2&amp;quot; (and not &amp;quot;A12 B1&amp;quot;), sorry for the confusion.&lt;br&gt;&lt;br&gt;
Out of curiosity, is there a way to achieve this without using the
match-recognize ? Any way using the prev or prior function ?&lt;br&gt;&lt;br&gt;
There is a way but it is really ugly and I really would like to find an
easier solution. Here is what we have right now:&lt;br&gt;
select * from B as evtB unidirectional, pattern[every A[5] as
evtA]&lt;br&gt;&lt;br&gt;
This seems to work fine but it is really complex. Any other better
looking way :-) ?&lt;br&gt;&lt;br&gt;
Thanks&lt;br&gt;
Cédric&lt;br&gt;&lt;br&gt;
&lt;br&gt;
At 19:24 8/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=cite class=cite cite=&quot;&quot;&gt;Hi Cedrik,&lt;br&gt;&lt;br&gt;
here is a possible match-recognize (the regular expression only):&lt;br&gt;
- A3 B1:&amp;nbsp; (A X X X X B), select A and B&lt;br&gt;
- A12 B1:&amp;nbsp; (B X X X X A), select A and B&amp;nbsp; &lt;br&gt;&lt;br&gt;
or both at the same time &amp;quot;(A X X X X B) | (B X X X X
A)&amp;quot;&lt;br&gt;&lt;br&gt;
Best regards&lt;br&gt;
Tom&lt;br&gt;&lt;br&gt;
&lt;font face=&quot;Tahoma&quot; size=2&gt;&lt;b&gt;From:&lt;/b&gt; Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tue, December 8, 2009 9:07:18 AM&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [esper-user] Retrieving events prior an event&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
Thanks for the reply,&lt;br&gt;&lt;br&gt;
But I don't think this will really solve my problem. Let me show you with
an example, which will probably be clearer than my explanation. Suppose
the following sequence of events:&lt;br&gt;
A1 A2 A3 A4 A5 A6 A7 B1 A8 A9 A10 A11 A12 A13 A14 A15 A16 B2 A17
A18&lt;br&gt;&lt;br&gt;
What I want to retrieve is:&lt;br&gt;
- A3 B1 (A3 being the fifth A event before B10)&lt;br&gt;
- A12 B1&lt;br&gt;&lt;br&gt;
I don't think this is really feasible using a pattern, is it ?&amp;nbsp;
&lt;br&gt;&lt;br&gt;
At 14:51 8/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=cite class=cite cite=&quot;&quot;&gt;May be a pattern using repeat or
repeat until would be a better way?&lt;br&gt;&lt;br&gt;
2009/12/8 Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt; &amp;gt; 
&lt;dl&gt;
&lt;dd&gt;Hello,
&lt;dd&gt;I'm a bit stuck with a problem when trying to retrieve events that
happened before a specific event. My scenario is that I have events
coming in and all those events have the same base event (let's call it
BaseEvent). Then, there are some specific events that I am looking for
(SpecificEvent). I need to retrieve all those specific events with the
base event that occured 5th-prior that specific event.
&lt;dd&gt;The first thing I did was something like this: 
&lt;dd&gt;select * from SpecificEvent as event unidirectional,
BaseEvent.win:length(5).std:firstevent() as prevEvent
&lt;dd&gt;But this didn't work as I expected and looking at the documentation
of the std:firstevent, it is explained there that I should use the prev
function instead because the window is restarted each time. So, I tried
then to use the prev function but there's no explanation in the doc on
how I have to specify that I want the full event and not one of the
properties (although, it is stated that it should be possible). I tried
to write something like this:
&lt;dd&gt;select event, prev(5, *) as prevEvent from SpecificEvent as event
unidirectional, BaseEvent.win:length(5)
&lt;dd&gt;But it complains about the syntax error for the '*' symbol.
&lt;dd&gt;So my questions are: 
&lt;dd&gt;1) How to write suche a statement ? 
&lt;dd&gt;2) If there are multiple streams, how will the prev function
&amp;quot;know&amp;quot; for which stream it has to select the event ?
&lt;dd&gt;I'm a bit confused with this prev function.
&lt;dd&gt;Thanks for your feedback. 
&lt;dd&gt;Cédric&lt;br&gt;

&lt;dd&gt;--------------------------------------------------------------------- 
&lt;dd&gt;To unsubscribe from this list, please visit:
&lt;dd&gt;&amp;nbsp;
&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;
http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;
&lt;/dl&gt;Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;&lt;br&gt;
&lt;a href=&quot;http://www.fmtc.be/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.fmtc.be&lt;/a&gt;&lt;/blockquote&gt;&lt;br&gt;
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;&lt;br&gt;
&lt;a href=&quot;http://www.fmtc.be/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.fmtc.be&lt;br&gt;
&lt;/a&gt;&lt;/blockquote&gt;
&lt;x-sigsep&gt;&lt;p&gt;&lt;/x-sigsep&gt;
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
&lt;x-tab&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/x-tab&gt;&lt;x-tab&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/x-tab&gt;&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727578&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&lt;x-tab&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/x-tab&gt;&lt;x-tab&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/x-tab&gt;&lt;x-tab&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/x-tab&gt;&lt;br&gt;&lt;br&gt;
&lt;a href=&quot;http://www.fmtc.be/&quot; eudora=&quot;autourl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.fmtc.be&lt;br&gt;
&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Retrieving-events-prior-an-event-tp26691705p26727578.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727296</id>
	<title>[jira] Created: (ESPER-429) Replace &quot;childNodeType&quot; with &quot;parameterType&quot; in section 12.2.3</title>
	<published>2009-12-10T05:33:55Z</published>
	<updated>2009-12-10T05:33:55Z</updated>
	<author>
		<name>JIRA jira@codehaus.org</name>
	</author>
	<content type="html">Replace &amp;quot;childNodeType&amp;quot; with &amp;quot;parameterType&amp;quot; in section 12.2.3
&lt;br&gt;--------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: ESPER-429
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://jira.codehaus.org/browse/ESPER-429&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/browse/ESPER-429&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: Esper
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: Documentation
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 3.2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Pedro Teixeira
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Trivial
&lt;br&gt;&lt;br&gt;&lt;br&gt;replace &amp;quot;childNodeType&amp;quot; with &amp;quot;parameterType&amp;quot; in the following extract in section 12.2.3:
&lt;br&gt;&lt;br&gt;&lt;br&gt;public void validateMultiParameter(Class[] parameterType, 
&lt;br&gt;&amp;nbsp; boolean[] isConstantValue, 
&lt;br&gt;&amp;nbsp; Object[] constantValue) {
&lt;br&gt;&amp;nbsp; super.validateMultiParameter(childNodeType, isConstantValue, constantValue);
&lt;br&gt;&amp;nbsp; if ((childNodeType[0] != Integer.class) || (childNodeType[1] != Integer.class)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; throw new IllegalArgumentException(&amp;quot;Expected integer bounds&amp;quot;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;If you think it was sent incorrectly contact one of the administrators: &lt;a href=&quot;http://jira.codehaus.org/secure/Administrators.jspa&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jira.codehaus.org/secure/Administrators.jspa&lt;/a&gt;&lt;br&gt;-
&lt;br&gt;For more information on JIRA, see: &lt;a href=&quot;http://www.atlassian.com/software/jira&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.atlassian.com/software/jira&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-Dev-list-f24502.html&quot; embed=&quot;fixTarget[24502]&quot; target=&quot;_top&quot; &gt;Esper Dev list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28ESPER-429%29-Replace-%22childNodeType%22-with-%22parameterType%22-in-section-12.2.3-tp26727296p26727296.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26727123</id>
	<title>Re: Retrieving events prior an event</title>
	<published>2009-12-10T05:14:57Z</published>
	<updated>2009-12-10T05:14:57Z</updated>
	<author>
		<name>Thomas Bernhardt</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial,helvetica,sans-serif;font-size:10pt&quot;&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 10pt;&quot;&gt;Hi Cedric,&lt;br&gt;&lt;br&gt;match recognize can also work with variant streams, i.e. multiple types of events. Yes followed-by in a pattern is another way, and a where-clause against &quot;prev&quot; is also possible for example with length window.&lt;br&gt;&lt;br&gt;Best regards&lt;br&gt;Tom&lt;br&gt;&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; Cédric Moonen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wed, December 9, 2009 5:02:00 AM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: [esper-user] Retrieving events prior
 an event&lt;br&gt;&lt;/font&gt;&lt;br&gt;
&lt;meta http-equiv=&quot;x-dns-prefetch-control&quot; content=&quot;off&quot;&gt;

Hello Thomas,&lt;br&gt;&lt;br&gt;
I've looked at the documentation of Esper 3.2 and this is a new feature
(we were still using 3.1). It looks indeed very promising to use the
match-recognize. I will have to experiment with it but I think what might
be a problem (not sure for now) is that you can only work with one type
of events. Luckily, all our events have the same common base class so
there is probably a work around here if we are able to specify a more
defined type in the define clause. Is that possible ?&lt;br&gt;
By the way, I realized that I made a small mistake in my previous
example: what should be retrieved is &quot;A3 B1&quot; and &quot;A12
B2&quot; (and not &quot;A12 B1&quot;), sorry for the confusion.&lt;br&gt;&lt;br&gt;
Out of curiosity, is there a way to achieve this without using the
match-recognize ? Any way using the prev or prior function ?&lt;br&gt;&lt;br&gt;
There is a way but it is really ugly and I really would like to find an
easier solution. Here is what we have right now:&lt;br&gt;
select * from B as evtB unidirectional, pattern[every A[5] as
evtA]&lt;br&gt;&lt;br&gt;
This seems to work fine but it is really complex. Any other better
looking way :-) ?&lt;br&gt;&lt;br&gt;
Thanks&lt;br&gt;
Cédric&lt;br&gt;&lt;br&gt;
&lt;br&gt;
At 19:24 8/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=&quot;cite&quot; class=&quot;cite&quot; cite=&quot;&quot;&gt;Hi Cedrik,&lt;br&gt;&lt;br&gt;
here is a possible match-recognize (the regular expression only):&lt;br&gt;
- A3 B1:&amp;nbsp; (A X X X X B), select A and B&lt;br&gt;
- A12 B1:&amp;nbsp; (B X X X X A), select A and B&amp;nbsp; &lt;br&gt;&lt;br&gt;
or both at the same time &quot;(A X X X X B) | (B X X X X
A)&quot;&lt;br&gt;&lt;br&gt;
Best regards&lt;br&gt;
Tom&lt;br&gt;
&lt;br&gt;
&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;b&gt;From:&lt;/b&gt; Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tue, December 8, 2009 9:07:18 AM&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [esper-user] Retrieving events prior an event&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
Thanks for the reply,&lt;br&gt;&lt;br&gt;
But I don't think this will really solve my problem. Let me show you with
an example, which will probably be clearer than my explanation. Suppose
the following sequence of events:&lt;br&gt;
A1 A2 A3 A4 A5 A6 A7 B1 A8 A9 A10 A11 A12 A13 A14 A15 A16 B2 A17
A18&lt;br&gt;&lt;br&gt;
What I want to retrieve is:&lt;br&gt;
- A3 B1 (A3 being the fifth A event before B10)&lt;br&gt;
- A12 B1&lt;br&gt;&lt;br&gt;
I don't think this is really feasible using a pattern, is it ?&amp;nbsp;
&lt;br&gt;&lt;br&gt;
At 14:51 8/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=&quot;cite&quot; class=&quot;cite&quot; cite=&quot;&quot;&gt;May be a pattern using repeat or
repeat until would be a better way?&lt;br&gt;&lt;br&gt;
2009/12/8 Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;
&amp;gt;
&lt;dl&gt;
&lt;dd&gt;Hello,&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;I'm a bit stuck with a problem when trying to retrieve events that
happened before a specific event. My scenario is that I have events
coming in and all those events have the same base event (let's call it
BaseEvent). Then, there are some specific events that I am looking for
(SpecificEvent). I need to retrieve all those specific events with the
base event that occured 5th-prior that specific event.&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;The first thing I did was something like this:
&lt;/dd&gt;&lt;dd&gt;select * from SpecificEvent as event unidirectional,
BaseEvent.win:length(5).std:firstevent() as prevEvent&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;But this didn't work as I expected and looking at the documentation
of the std:firstevent, it is explained there that I should use the prev
function instead because the window is restarted each time. So, I tried
then to use the prev function but there's no explanation in the doc on
how I have to specify that I want the full event and not one of the
properties (although, it is stated that it should be possible). I tried
to write something like this:&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;select event, prev(5, *) as prevEvent from SpecificEvent as event
unidirectional, BaseEvent.win:length(5)&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;But it complains about the syntax error for the '*' symbol.&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;So my questions are:
&lt;/dd&gt;&lt;dd&gt;1) How to write suche a statement ?
&lt;/dd&gt;&lt;dd&gt;2) If there are multiple streams, how will the prev function
&quot;know&quot; for which stream it has to select the event ?&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;I'm a bit confused with this prev function.&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;Thanks for your feedback.
&lt;/dd&gt;&lt;dd&gt;Cédric&lt;br&gt;
&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;
---------------------------------------------------------------------
&lt;/dd&gt;&lt;dd&gt;To unsubscribe from this list, please visit:&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;&lt;span&gt;&amp;nbsp;
&lt;a target=&quot;_blank&quot; href=&quot;http://xircles.codehaus.org/manage_email&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;/dd&gt;&lt;/dl&gt;&lt;/blockquote&gt;
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.fmtc.be/&quot;&gt;www.fmtc.be&lt;br&gt;
&lt;/a&gt;&lt;/blockquote&gt;
&lt;p&gt; 
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26727123&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.fmtc.be/&quot;&gt;www.fmtc.be&lt;br&gt;
&lt;/a&gt;&lt;meta http-equiv=&quot;x-dns-prefetch-control&quot; content=&quot;on&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg1.c1.mail.mud.yahoo.com compressed/chunked Tue Dec  8 20:25:37 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Retrieving-events-prior-an-event-tp26691705p26727123.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26721587</id>
	<title>Re: Stuck at NStreamQueryPlanBuilder.computeBestPath</title>
	<published>2009-12-09T19:22:18Z</published>
	<updated>2009-12-09T19:22:18Z</updated>
	<author>
		<name>pedroteixeira</name>
	</author>
	<content type="html">&lt;br&gt;got it. &amp;nbsp;thanks a lot!
&lt;br&gt;&lt;br&gt;yep, I just needs to keep a single value from the last event from many streams and convert them (kind of transposing) to a single event. The mechanism should be efficient even with ~ 500 events. The use case for this is that I want Esper to create a kind of vector snapshot from several streams.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Thomas Bernhardt wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;If your 15 subqueries are very similar, perhaps a single subquery and a custom plugin aggregation function would be another way to go, function to simply return all x events in an array
&lt;br&gt;&lt;br&gt;For example: &amp;nbsp;
&lt;br&gt;&lt;br&gt;select 
&lt;br&gt;&amp;nbsp; (select myaggregation(value) from Event.std:unique(value)), &amp;nbsp;j.value
&lt;br&gt;from Event(id=14).std.lastevent() as j
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br&gt;________________________________
&lt;br&gt;From: pedroteixeira &amp;lt;pedro.t@gmail.com&amp;gt;
&lt;br&gt;To: user@esper.codehaus.org
&lt;br&gt;Sent: Wed, December 9, 2009 2:04:42 PM
&lt;br&gt;Subject: Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks, Thomas. Will create a test case and then create the issue.
&lt;br&gt;&lt;br&gt;I'was reading the example in the docs:
&lt;br&gt;// Fast version, second alternative
&lt;br&gt;select 
&lt;br&gt;&amp;nbsp; (select avg(value) from MyEvent.win:length(100)) as avgA, 
&lt;br&gt;&amp;nbsp; (select avg(value) from MyEvent.win:length(50)) as avgB,
&lt;br&gt;&amp;nbsp; a.symbol
&lt;br&gt;from MyEvent.std:lastevent() a, MyEvent.std:lastevent() b
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;For a 15-stream join, is this the subquery approach that you meant?
&lt;br&gt;&lt;br&gt;select 
&lt;br&gt;&amp;nbsp; (select value from Event(id=1).std:lastevent()),
&lt;br&gt;&amp;nbsp; (select value from Event(id=2).std:lastevent()),
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; (select value from Event(id=13).std:lastevent()),
&lt;br&gt;&amp;nbsp; j.value
&lt;br&gt;from Event(id=14).std.lastevent() as j
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;Pedro
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thomas Bernhardt wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; can you please create a JIRA and attach the test Java class.
&lt;br&gt;&amp;gt; As a workaround to a 15-stream join consider subqueries.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards
&lt;br&gt;&amp;gt; Tom
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; From: pedroteixeira &amp;lt;pedro.t@gmail.com&amp;gt;
&lt;br&gt;&amp;gt; To: user@esper.codehaus.org
&lt;br&gt;&amp;gt; Sent: Wed, December 9, 2009 8:10:18 AM
&lt;br&gt;&amp;gt; Subject: Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TYPO. The actual query is more like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id =
&lt;br&gt;&amp;gt; 1).std:lastevent() as a, Stream(id = 2).std:lastevent() as b, ...,
&lt;br&gt;&amp;gt; Stream(id
&lt;br&gt;&amp;gt; =10).std:lastevent() as j
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; pedroteixeira wrote:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I've stumbled across a problem, but need some help to understand what it
&lt;br&gt;&amp;gt;&amp;gt; is the intended behavior of the NStreamQueryPlanBuilder class. &amp;nbsp;Perhaps,
&lt;br&gt;&amp;gt;&amp;gt; someone has already had this problem, but I was not able to find in the
&lt;br&gt;&amp;gt;&amp;gt; archive.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I have a query which joins 10 streams in the following manner:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id = 1) as a,
&lt;br&gt;&amp;gt;&amp;gt; Stream(id = 2) as b, ..., Stream(id =10) as j
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The esper engine gets stuck in the &amp;quot;computeBestPath&amp;quot; method, consuming
&lt;br&gt;&amp;gt;&amp;gt; one
&lt;br&gt;&amp;gt;&amp;gt; of the CPUs allocated to the running thread. With yourkit, I extracted
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; following stack trace:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.collection.PermutationEnumeration.nextElement()
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.collection.NumberSetPermutationEnumeration.nextElement()
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.computeBestPath(int,
&lt;br&gt;&amp;gt;&amp;gt; QueryGraph, HistoricalDependencyGraph)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.build(QueryGraph,
&lt;br&gt;&amp;gt;&amp;gt; EventType[], boolean, boolean[], HistoricalDependencyGraph,
&lt;br&gt;&amp;gt;&amp;gt; HistoricalStreamIndexList[])
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.QueryPlanBuilder.getPlan(EventType[],
&lt;br&gt;&amp;gt;&amp;gt; List, QueryGraph, String[], boolean, boolean[],
&lt;br&gt;&amp;gt;&amp;gt; HistoricalDependencyGraph, HistoricalStreamIndexList[],
&lt;br&gt;&amp;gt;&amp;gt; ExprEvaluatorContext)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.JoinSetComposerFactoryImpl.makeComposer(List,
&lt;br&gt;&amp;gt;&amp;gt; ExprNode, EventType[], String[], Viewable[],
&lt;br&gt;&amp;gt;&amp;gt; SelectClauseStreamSelectorEnum, StreamJoinAnalysisResult,
&lt;br&gt;&amp;gt;&amp;gt; ExprEvaluatorContext)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.handleJoin(String[],
&lt;br&gt;&amp;gt;&amp;gt; EventType[], Viewable[], ResultSetProcessor,
&lt;br&gt;&amp;gt;&amp;gt; SelectClauseStreamSelectorEnum, StatementContext, List,
&lt;br&gt;&amp;gt;&amp;gt; StreamJoinAnalysisResult)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.startSelect(boolean)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.start(boolean, boolean,
&lt;br&gt;&amp;gt;&amp;gt; boolean)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.startInternal(String,
&lt;br&gt;&amp;gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.start(String,
&lt;br&gt;&amp;gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,
&lt;br&gt;&amp;gt;&amp;gt; String, boolean, String, String, Map, Object, EPIsolationUnitServices)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,
&lt;br&gt;&amp;gt;&amp;gt; String, boolean, String, Object, EPIsolationUnitServices)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel,
&lt;br&gt;&amp;gt;&amp;gt; String)
&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; There seems to be some sort of caveat in the &amp;quot;computeBestPath&amp;quot; method,
&lt;br&gt;&amp;gt;&amp;gt; since it might have to try 15! combinations (in my case). Is that really
&lt;br&gt;&amp;gt;&amp;gt; intented?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks a bunch,
&lt;br&gt;&amp;gt;&amp;gt; Pedro
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Esper User list mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26715790.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26715790.html&lt;/a&gt;&lt;br&gt;Sent from the Esper User list mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26721587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26721421</id>
	<title>Re: Retrieving events prior an event</title>
	<published>2009-12-09T18:58:56Z</published>
	<updated>2009-12-09T18:58:56Z</updated>
	<author>
		<name>Thomas Bernhardt</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial,helvetica,sans-serif;font-size:10pt&quot;&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 10pt;&quot;&gt;use &quot;instanceof&quot;?&lt;br&gt;&lt;br&gt;Best regards&lt;br&gt;Tom&lt;br&gt;&lt;div style=&quot;font-family: times new roman,new york,times,serif; font-size: 12pt;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; Cédric Moonen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wed, December 9, 2009 6:12:41 AM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: [esper-user] Retrieving events prior an event&lt;br&gt;&lt;/font&gt;&lt;br&gt;
&lt;meta http-equiv=&quot;x-dns-prefetch-control&quot; content=&quot;off&quot;&gt;

I made a mistake in my previous reply. The statement that is working
looks like this in fact:&lt;br&gt;
select * from B as evtB unidirectional, pattern[every evtA=A -&amp;gt; A
-&amp;gt; A -&amp;gt; A -&amp;gt; A]&lt;br&gt;&lt;br&gt;
Which is even more ugly...&lt;br&gt;&lt;br&gt;
I've been looking at the mathc_recognize but as I expected I am a bit
stuck on detecting the type of the event in the define clause. What I
have so far is:&lt;br&gt;&lt;br&gt;
select * from BaseEvent&lt;br&gt;
match_recognize (&lt;br&gt;
&amp;nbsp; measures A as start, B as stop&lt;br&gt;
&amp;nbsp; pattern(A X X X X B)&lt;br&gt;
&amp;nbsp; define &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; B as (??? AND B.var1=&quot;Val1&quot; AND
B.var2=&quot;Val2&quot; ) &lt;br&gt;
)&lt;br&gt;&lt;br&gt;
So, to summarize, both A and B inherit from BaseEvent. The
&quot;???&quot; in the define should be replaced by something that
specifies the type of the event B (event A can be of any type). var1 and
var2 are both members of the more derived type which B is representing.
Is there any way to do this ?&lt;br&gt;&lt;br&gt;
Thanks for any feedback.&lt;br&gt;
Cédric&lt;br&gt;&lt;br&gt;
&lt;br&gt;
At 11:02 9/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=&quot;cite&quot; class=&quot;cite&quot; cite=&quot;&quot;&gt;Hello Thomas,&lt;br&gt;&lt;br&gt;
I've looked at the documentation of Esper 3.2 and this is a new feature
(we were still using 3.1). It looks indeed very promising to use the
match-recognize. I will have to experiment with it but I think what might
be a problem (not sure for now) is that you can only work with one type
of events. Luckily, all our events have the same common base class so
there is probably a work around here if we are able to specify a more
defined type in the define clause. Is that possible ?&lt;br&gt;
By the way, I realized that I made a small mistake in my previous
example: what should be retrieved is &quot;A3 B1&quot; and &quot;A12
B2&quot; (and not &quot;A12 B1&quot;), sorry for the confusion.&lt;br&gt;
&lt;br&gt;
Out of curiosity, is there a way to achieve this without using the
match-recognize ? Any way using the prev or prior function ?&lt;br&gt;&lt;br&gt;
There is a way but it is really ugly and I really would like to find an
easier solution. Here is what we have right now:&lt;br&gt;
select * from B as evtB unidirectional, pattern[every A[5] as
evtA]&lt;br&gt;&lt;br&gt;
This seems to work fine but it is really complex. Any other better
looking way :-) ?&lt;br&gt;&lt;br&gt;
Thanks&lt;br&gt;
Cédric&lt;br&gt;&lt;br&gt;
&lt;br&gt;
At 19:24 8/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=&quot;cite&quot; class=&quot;cite&quot; cite=&quot;&quot;&gt;Hi Cedrik,&lt;br&gt;&lt;br&gt;
here is a possible match-recognize (the regular expression only):&lt;br&gt;
- A3 B1:&amp;nbsp; (A X X X X B), select A and B&lt;br&gt;
- A12 B1:&amp;nbsp; (B X X X X A), select A and B&amp;nbsp; &lt;br&gt;&lt;br&gt;
or both at the same time &quot;(A X X X X B) | (B X X X X
A)&quot;&lt;br&gt;&lt;br&gt;
Best regards&lt;br&gt;
Tom&lt;br&gt;&lt;br&gt;
&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;b&gt;From:&lt;/b&gt; Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tue, December 8, 2009 9:07:18 AM&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: [esper-user] Retrieving events prior an event&lt;br&gt;
&lt;/font&gt;&lt;br&gt;
Thanks for the reply,&lt;br&gt;&lt;br&gt;
But I don't think this will really solve my problem. Let me show you with
an example, which will probably be clearer than my explanation. Suppose
the following sequence of events:&lt;br&gt;
A1 A2 A3 A4 A5 A6 A7 B1 A8 A9 A10 A11 A12 A13 A14 A15 A16 B2 A17
A18&lt;br&gt;&lt;br&gt;
What I want to retrieve is:&lt;br&gt;
- A3 B1 (A3 being the fifth A event before B10)&lt;br&gt;
- A12 B1&lt;br&gt;&lt;br&gt;
I don't think this is really feasible using a pattern, is it ?&amp;nbsp;
&lt;br&gt;&lt;br&gt;
At 14:51 8/12/2009, you wrote:&lt;br&gt;
&lt;blockquote type=&quot;cite&quot; class=&quot;cite&quot; cite=&quot;&quot;&gt;May be a pattern using repeat or
repeat until would be a better way?&lt;br&gt;&lt;br&gt;
2009/12/8 Cédric Moonen
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt; &amp;gt; 
&lt;dl&gt;
&lt;dd&gt;Hello,
&lt;/dd&gt;&lt;dd&gt;I'm a bit stuck with a problem when trying to retrieve events that
happened before a specific event. My scenario is that I have events
coming in and all those events have the same base event (let's call it
BaseEvent). Then, there are some specific events that I am looking for
(SpecificEvent). I need to retrieve all those specific events with the
base event that occured 5th-prior that specific event.
&lt;/dd&gt;&lt;dd&gt;The first thing I did was something like this: 
&lt;/dd&gt;&lt;dd&gt;select * from SpecificEvent as event unidirectional,
BaseEvent.win:length(5).std:firstevent() as prevEvent
&lt;/dd&gt;&lt;dd&gt;But this didn't work as I expected and looking at the documentation
of the std:firstevent, it is explained there that I should use the prev
function instead because the window is restarted each time. So, I tried
then to use the prev function but there's no explanation in the doc on
how I have to specify that I want the full event and not one of the
properties (although, it is stated that it should be possible). I tried
to write something like this:
&lt;/dd&gt;&lt;dd&gt;select event, prev(5, *) as prevEvent from SpecificEvent as event
unidirectional, BaseEvent.win:length(5)
&lt;/dd&gt;&lt;dd&gt;But it complains about the syntax error for the '*' symbol.
&lt;/dd&gt;&lt;dd&gt;So my questions are: 
&lt;/dd&gt;&lt;dd&gt;1) How to write suche a statement ? 
&lt;/dd&gt;&lt;dd&gt;2) If there are multiple streams, how will the prev function
&quot;know&quot; for which stream it has to select the event ?
&lt;/dd&gt;&lt;dd&gt;I'm a bit confused with this prev function.
&lt;/dd&gt;&lt;dd&gt;Thanks for your feedback. 
&lt;/dd&gt;&lt;dd&gt;Cédric&lt;br&gt;

&lt;/dd&gt;&lt;dd&gt;--------------------------------------------------------------------- 
&lt;/dd&gt;&lt;dd&gt;To unsubscribe from this list, please visit:
&lt;/dd&gt;&lt;dd&gt;&lt;span&gt;&amp;nbsp;
&lt;a target=&quot;_blank&quot; href=&quot;http://xircles.codehaus.org/manage_email&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/span&gt;&lt;br&gt;
&lt;/dd&gt;&lt;/dl&gt;&lt;/blockquote&gt;
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.fmtc.be/&quot;&gt;www.fmtc.be&lt;/a&gt;&lt;/blockquote&gt;&lt;br&gt;
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.fmtc.be/&quot;&gt;www.fmtc.be&lt;/a&gt;
&lt;/blockquote&gt;
&lt;p&gt; 
Cédric Moonen&lt;br&gt;
Projectingenieur&lt;br&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;
Flanders' MECHATRONICS Technology Centre (FMTC)&lt;br&gt;
Celestijnenlaan 300D&lt;br&gt;
B-3001 Leuven&lt;br&gt;
Belgium&lt;br&gt;&lt;br&gt;
GSM: +32-498-91.94.14&lt;br&gt;
Fax: +32-16-32.80.64&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721421&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cedric.moonen@...&lt;/a&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.fmtc.be/&quot;&gt;www.fmtc.be&lt;br&gt;
&lt;/a&gt;&lt;meta http-equiv=&quot;x-dns-prefetch-control&quot; content=&quot;on&quot;&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg1.c1.mail.mud.yahoo.com compressed/chunked Tue Dec  8 20:25:37 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Retrieving-events-prior-an-event-tp26691705p26721421.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26721410</id>
	<title>Re: Stuck at NStreamQueryPlanBuilder.computeBestPath</title>
	<published>2009-12-09T18:56:20Z</published>
	<updated>2009-12-09T18:56:20Z</updated>
	<author>
		<name>Thomas Bernhardt</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial,helvetica,sans-serif;font-size:10pt&quot;&gt;&lt;div&gt;If your 15 subqueries are very similar, perhaps a single subquery and a custom plugin aggregation function would be another way to go, function to simply return all x events in an array&lt;br&gt;&lt;br&gt;For example:&amp;nbsp; &lt;br&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 10pt;&quot;&gt;select &lt;br&gt;&amp;nbsp; (select myaggregation(value) from Event.std:unique(value)),&amp;nbsp; j.value&lt;br&gt;from Event(id=14).std.lastevent() as j&lt;br&gt;&lt;br&gt;Best regards&lt;br&gt;Tom&lt;br&gt;&lt;div style=&quot;font-family: arial,helvetica,sans-serif; font-size: 13px;&quot;&gt;&lt;font face=&quot;Tahoma&quot; size=&quot;2&quot;&gt;&lt;hr size=&quot;1&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/b&gt; pedroteixeira &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721410&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedro.t@...&lt;/a&gt;&amp;gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721410&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wed, December 9,
 2009 2:04:42 PM&lt;br&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath&lt;br&gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks, Thomas. Will create a test case and then create the issue.&lt;br&gt;&lt;br&gt;I'was reading the example in the docs:&lt;br&gt;// Fast version, second alternative&lt;br&gt;select &lt;br&gt;&amp;nbsp; (select avg(value) from MyEvent.win:length(100)) as avgA, &lt;br&gt;&amp;nbsp; (select avg(value) from MyEvent.win:length(50)) as avgB,&lt;br&gt;&amp;nbsp; a.symbol&lt;br&gt;from MyEvent.std:lastevent() a, MyEvent.std:lastevent() b&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;For a 15-stream join, is this the subquery approach that you meant?&lt;br&gt;&lt;br&gt;select &lt;br&gt;&amp;nbsp; (select value from Event(id=1).std:lastevent()),&lt;br&gt;&amp;nbsp; (select value from Event(id=2).std:lastevent()),&lt;br&gt;...&lt;br&gt;&amp;nbsp; (select value from Event(id=13).std:lastevent()),&lt;br&gt;&amp;nbsp; j.value&lt;br&gt;from Event(id=14).std.lastevent() as j&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,&lt;br&gt;Pedro&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thomas Bernhardt wrote:&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Hi,&lt;br&gt;&amp;gt; can you please create a JIRA and attach the test Java class.&lt;br&gt;&amp;gt; As a workaround to a 15-stream join consider subqueries.&lt;br&gt;&amp;gt;
 &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; Best regards&lt;br&gt;&amp;gt; Tom&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; ________________________________&lt;br&gt;&amp;gt; From: pedroteixeira &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721410&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pedro.t@...&lt;/a&gt;&amp;gt;&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26721410&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;&lt;br&gt;&amp;gt; Sent: Wed, December 9, 2009 8:10:18 AM&lt;br&gt;&amp;gt; Subject: Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; TYPO. The actual query is more like this:&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id =&lt;br&gt;&amp;gt; 1).std:lastevent() as a, Stream(id = 2).std:lastevent() as b, ...,&lt;br&gt;&amp;gt; Stream(id&lt;br&gt;&amp;gt; =10).std:lastevent() as j&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; pedroteixeira wrote:&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; Hello,&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; I've stumbled across a problem, but need some help to understand what
 it&lt;br&gt;&amp;gt;&amp;gt; is the intended behavior of the NStreamQueryPlanBuilder class.&amp;nbsp; Perhaps,&lt;br&gt;&amp;gt;&amp;gt; someone has already had this problem, but I was not able to find in the&lt;br&gt;&amp;gt;&amp;gt; archive.&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; I have a query which joins 10 streams in the following manner:&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id = 1) as a,&lt;br&gt;&amp;gt;&amp;gt; Stream(id = 2) as b, ..., Stream(id =10) as j&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; The esper engine gets stuck in the &quot;computeBestPath&quot; method, consuming&lt;br&gt;&amp;gt;&amp;gt; one&lt;br&gt;&amp;gt;&amp;gt; of the CPUs allocated to the running thread. With yourkit, I extracted&lt;br&gt;&amp;gt;&amp;gt; the&lt;br&gt;&amp;gt;&amp;gt; following stack trace:&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.collection.PermutationEnumeration.nextElement()&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.collection.NumberSetPermutationEnumeration.nextElement()&lt;br&gt;&amp;gt;&amp;gt;
 com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.computeBestPath(int,&lt;br&gt;&amp;gt;&amp;gt; QueryGraph, HistoricalDependencyGraph)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.build(QueryGraph,&lt;br&gt;&amp;gt;&amp;gt; EventType[], boolean, boolean[], HistoricalDependencyGraph,&lt;br&gt;&amp;gt;&amp;gt; HistoricalStreamIndexList[])&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.plan.QueryPlanBuilder.getPlan(EventType[],&lt;br&gt;&amp;gt;&amp;gt; List, QueryGraph, String[], boolean, boolean[],&lt;br&gt;&amp;gt;&amp;gt; HistoricalDependencyGraph, HistoricalStreamIndexList[],&lt;br&gt;&amp;gt;&amp;gt; ExprEvaluatorContext)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.epl.join.JoinSetComposerFactoryImpl.makeComposer(List,&lt;br&gt;&amp;gt;&amp;gt; ExprNode, EventType[], String[], Viewable[],&lt;br&gt;&amp;gt;&amp;gt; SelectClauseStreamSelectorEnum, StreamJoinAnalysisResult,&lt;br&gt;&amp;gt;&amp;gt; ExprEvaluatorContext)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.handleJoin(String[],&lt;br&gt;&amp;gt;&amp;gt; EventType[], Viewable[],
 ResultSetProcessor,&lt;br&gt;&amp;gt;&amp;gt; SelectClauseStreamSelectorEnum, StatementContext, List,&lt;br&gt;&amp;gt;&amp;gt; StreamJoinAnalysisResult)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.startSelect(boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.start(boolean, boolean,&lt;br&gt;&amp;gt;&amp;gt; boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.startInternal(String,&lt;br&gt;&amp;gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.start(String,&lt;br&gt;&amp;gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,&lt;br&gt;&amp;gt;&amp;gt; String, boolean, String, String, Map, Object, EPIsolationUnitServices)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,&lt;br&gt;&amp;gt;&amp;gt; String, boolean, String, Object,
 EPIsolationUnitServices)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel,&lt;br&gt;&amp;gt;&amp;gt; String)&lt;br&gt;&amp;gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel)&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; There seems to be some sort of caveat in the &quot;computeBestPath&quot; method,&lt;br&gt;&amp;gt;&amp;gt; since it might have to try 15! combinations (in my case). Is that really&lt;br&gt;&amp;gt;&amp;gt; intented?&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; Thanks a bunch,&lt;br&gt;&amp;gt;&amp;gt; Pedro&lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; -- &lt;br&gt;&amp;gt; View this message in context:&lt;/div&gt;&lt;span&gt;&amp;gt; &lt;a target=&quot;_blank&quot; href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&amp;gt; Sent from the Esper User list mailing list archive at &lt;a target=&quot;_blank&quot; href=&quot;http://Nabble.com&quot; rel=&quot;nofollow&quot;&gt;Nabble.com&lt;/a&gt;.&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; ---------------------------------------------------------------------&lt;br&gt;&amp;gt; To unsubscribe from this list, please visit:&lt;br&gt;&amp;gt; &lt;br&gt;&lt;span&gt;&amp;gt;&amp;nbsp; &amp;nbsp;  &lt;a target=&quot;_blank&quot; href=&quot;http://xircles.codehaus.org/manage_email&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;/span&gt;&lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt; &lt;br&gt;&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;  &lt;br&gt;&amp;gt; &lt;br&gt;&lt;br&gt;-- &lt;br&gt;&lt;span&gt;View this message in context: &lt;a target=&quot;_blank&quot; href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26715790.html&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26715790.html&lt;/a&gt;&lt;/span&gt;&lt;br&gt;Sent from the Esper User list mailing list archive at Nabble.com.&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------&lt;br&gt;To unsubscribe from this list, please visit:&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- cg1.c1.mail.mud.yahoo.com compressed/chunked Tue Dec  8 20:25:37 PST 2009 --&gt;
&lt;/div&gt;&lt;br&gt;

      &lt;/body&gt;&lt;/html&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26721410.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26715790</id>
	<title>Re: Stuck at NStreamQueryPlanBuilder.computeBestPath</title>
	<published>2009-12-09T11:04:41Z</published>
	<updated>2009-12-09T11:04:41Z</updated>
	<author>
		<name>pedroteixeira</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;Thanks, Thomas. Will create a test case and then create the issue.
&lt;br&gt;&lt;br&gt;I'was reading the example in the docs:
&lt;br&gt;// Fast version, second alternative
&lt;br&gt;select 
&lt;br&gt;&amp;nbsp; (select avg(value) from MyEvent.win:length(100)) as avgA, 
&lt;br&gt;&amp;nbsp; (select avg(value) from MyEvent.win:length(50)) as avgB,
&lt;br&gt;&amp;nbsp; a.symbol
&lt;br&gt;from MyEvent.std:lastevent() a, MyEvent.std:lastevent() b
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;For a 15-stream join, is this the subquery approach that you meant?
&lt;br&gt;&lt;br&gt;select 
&lt;br&gt;&amp;nbsp; (select value from Event(id=1).std:lastevent()),
&lt;br&gt;&amp;nbsp; (select value from Event(id=2).std:lastevent()),
&lt;br&gt;...
&lt;br&gt;&amp;nbsp; (select value from Event(id=13).std:lastevent()),
&lt;br&gt;&amp;nbsp; j.value
&lt;br&gt;from Event(id=14).std.lastevent() as j
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;Pedro
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Thomas Bernhardt wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;can you please create a JIRA and attach the test Java class.
&lt;br&gt;As a workaround to a 15-stream join consider subqueries.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br&gt;________________________________
&lt;br&gt;From: pedroteixeira &amp;lt;pedro.t@gmail.com&amp;gt;
&lt;br&gt;To: user@esper.codehaus.org
&lt;br&gt;Sent: Wed, December 9, 2009 8:10:18 AM
&lt;br&gt;Subject: Re: [esper-user] Stuck at NStreamQueryPlanBuilder.computeBestPath
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;TYPO. The actual query is more like this:
&lt;br&gt;&lt;br&gt;select a.value, b.value, c.value ... j.value from Stream(id =
&lt;br&gt;1).std:lastevent() as a, Stream(id = 2).std:lastevent() as b, ..., Stream(id
&lt;br&gt;=10).std:lastevent() as j
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;pedroteixeira wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've stumbled across a problem, but need some help to understand what it
&lt;br&gt;&amp;gt; is the intended behavior of the NStreamQueryPlanBuilder class. &amp;nbsp;Perhaps,
&lt;br&gt;&amp;gt; someone has already had this problem, but I was not able to find in the
&lt;br&gt;&amp;gt; archive.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have a query which joins 10 streams in the following manner:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; select a.value, b.value, c.value ... j.value from Stream(id = 1) as a,
&lt;br&gt;&amp;gt; Stream(id = 2) as b, ..., Stream(id =10) as j
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The esper engine gets stuck in the &amp;quot;computeBestPath&amp;quot; method, consuming one
&lt;br&gt;&amp;gt; of the CPUs allocated to the running thread. With yourkit, I extracted the
&lt;br&gt;&amp;gt; following stack trace:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; com.espertech.esper.collection.PermutationEnumeration.nextElement()
&lt;br&gt;&amp;gt; com.espertech.esper.collection.NumberSetPermutationEnumeration.nextElement()
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.computeBestPath(int,
&lt;br&gt;&amp;gt; QueryGraph, HistoricalDependencyGraph)
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.plan.NStreamQueryPlanBuilder.build(QueryGraph,
&lt;br&gt;&amp;gt; EventType[], boolean, boolean[], HistoricalDependencyGraph,
&lt;br&gt;&amp;gt; HistoricalStreamIndexList[])
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.plan.QueryPlanBuilder.getPlan(EventType[],
&lt;br&gt;&amp;gt; List, QueryGraph, String[], boolean, boolean[],
&lt;br&gt;&amp;gt; HistoricalDependencyGraph, HistoricalStreamIndexList[],
&lt;br&gt;&amp;gt; ExprEvaluatorContext)
&lt;br&gt;&amp;gt; com.espertech.esper.epl.join.JoinSetComposerFactoryImpl.makeComposer(List,
&lt;br&gt;&amp;gt; ExprNode, EventType[], String[], Viewable[],
&lt;br&gt;&amp;gt; SelectClauseStreamSelectorEnum, StreamJoinAnalysisResult,
&lt;br&gt;&amp;gt; ExprEvaluatorContext)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.handleJoin(String[],
&lt;br&gt;&amp;gt; EventType[], Viewable[], ResultSetProcessor,
&lt;br&gt;&amp;gt; SelectClauseStreamSelectorEnum, StatementContext, List,
&lt;br&gt;&amp;gt; StreamJoinAnalysisResult)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.startSelect(boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPStatementStartMethod.start(boolean, boolean,
&lt;br&gt;&amp;gt; boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.startInternal(String,
&lt;br&gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.start(String,
&lt;br&gt;&amp;gt; StatementLifecycleSvcImpl$EPStatementDesc, boolean, boolean, boolean)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,
&lt;br&gt;&amp;gt; String, boolean, String, String, Map, Object, EPIsolationUnitServices)
&lt;br&gt;&amp;gt; com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementSpecRaw,
&lt;br&gt;&amp;gt; String, boolean, String, Object, EPIsolationUnitServices)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel,
&lt;br&gt;&amp;gt; String)
&lt;br&gt;&amp;gt; com.espertech.esper.core.EPAdministratorImpl.create(EPStatementObjectModel)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There seems to be some sort of caveat in the &amp;quot;computeBestPath&amp;quot; method,
&lt;br&gt;&amp;gt; since it might have to try 15! combinations (in my case). Is that really
&lt;br&gt;&amp;gt; intented?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks a bunch,
&lt;br&gt;&amp;gt; Pedro
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26709902.html&lt;/a&gt;&lt;br&gt;Sent from the Esper User list mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe from this list, please visit:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://xircles.codehaus.org/manage_email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Esper-User-list-f24501.html&quot; embed=&quot;fixTarget[24501]&quot; target=&quot;_top&quot; &gt;Esper User list&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Stuck-at-NStreamQueryPlanBuilder.computeBestPath-tp26709887p26715790.html" />
</entry>

</feed>
