Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.5.1 stockticker example outdated #28

Open
yang-guangyuan opened this issue Mar 8, 2021 · 9 comments
Open

8.5.1 stockticker example outdated #28

yang-guangyuan opened this issue Mar 8, 2021 · 9 comments
Labels

Comments

@yang-guangyuan
Copy link

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!

@yang-guangyuan
Copy link
Author

// Listen to all limits to be set
        var expressionText = "every Pricelimit=PriceLimit()";
        EPStatement factory = runtime.DeployStatement(expressionText);

@bernhardttom
Copy link
Contributor

"select * from PriceLimit" is what you want

@yang-guangyuan
Copy link
Author

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()]

@bernhardttom
Copy link
Contributor

what example?

@yang-guangyuan
Copy link
Author

NEsper.Examples.StockTicker

nesper-release_8.5.1\examples\NEsper.Examples\example\stockticker

thanks

@yang-guangyuan
Copy link
Author

@bernhardttom thanks

@bernhardttom bernhardttom changed the title HELP, I use 8.5.1 releases ,compile and run examples stockticker 8.5.1 stockticker example outdated Mar 10, 2021
@ajaxx
Copy link
Collaborator

ajaxx commented Mar 10, 2021 via email

@yang-guangyuan
Copy link
Author

image
In 8.5.2

@ajaxx
Copy link
Collaborator

ajaxx commented Jul 2, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants