nesper
nesper copied to clipboard
8.5.1 stockticker example outdated
com.espertech.esper.common.client.EPRuntimeException:“com.espertech.esper.common.client.EPRuntimeException: Error during compilation: Incorrect syntax near 'every' (a reserved keyword) [every Pricelimit=PriceLimit()] [every Pricelimit=PriceLimit()]”
I do not know why, who can help me thanks!
// Listen to all limits to be set
var expressionText = "every Pricelimit=PriceLimit()";
EPStatement factory = runtime.DeployStatement(expressionText);
"select * from PriceLimit" is what you want
I use examples code, but compile run is error
Error during compilation: Incorrect syntax near 'every' (a reserved keyword) [every Pricelimit=PriceLimit()] [every Pricelimit=PriceLimit()]
what example?
NEsper.Examples.StockTicker
nesper-release_8.5.1\examples\NEsper.Examples\example\stockticker
thanks
@bernhardttom thanks
I'll take a look at that example Tom. I'm doing testing in this area anyway.
On Wed, Mar 10, 2021, 1:42 AM yang-guangyuan [email protected] wrote:
@bernhardttom https://github.com/bernhardttom thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/espertechinc/nesper/issues/28#issuecomment-795031475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGKCH5YRIBHSAGXVR2GND3TC4PFDANCNFSM4YZDJGPA .
In 8.5.2
Yes, I was fixing this as part of the 8.6.0 work. Is this something you need working as part of 8.5.2 or can it wait until 8.6.0. If it is immediate and you can fix it, then please submit a PR and I will review it.