Last active
August 29, 2015 14:01
-
-
Save tagomoris/5eed4a40fcbfccfec2ce to your computer and use it in GitHub Desktop.
esper-5.0 may contain BUG to recognize functions case-sensitive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// line 302 | |
boolean filtered = childNodeText.startsWith("f"); | |
if (childNodeText.equals("min") || childNodeText.equals("fmin")) { //toLowerCase().equals("min") | |
minMaxTypeEnum = MinMaxTypeEnum.MIN; | |
} | |
else if (childNodeText.equals("max") || childNodeText.equals("fmax")) { | |
minMaxTypeEnum = MinMaxTypeEnum.MAX; | |
} | |
else { | |
throw ASTWalkException.from("Uncountered unrecognized min or max node '" + ident + "'"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT MAX(size) AS maxsize, fraud.aaa, bbb FROM FraudWarningEvent.win:keepall() AS fraud, PINChangeEvent(size > 10).win:time(20 sec) WHERE fraud.accountNumber.substr(0,8) = substr(PINChangeEvent.accountNumber, 0, 8) AND cast(PINChangeEvent.size,double) > 10.5 | |
com/espertech/esper/epl/parse/ASTWalkException.java:27:in `from': com.espertech.esper.epl.parse.ASTWalkException: Uncountered unrecognized min or max node 'MAX' | |
from com/espertech/esper/epl/parse/ASTLibFunctionHelper.java:302:in `handleMinMax' | |
from com/espertech/esper/epl/parse/ASTLibFunctionHelper.java:140:in `handleLibFunc' | |
from com/espertech/esper/epl/parse/EPLTreeWalkerListener.java:302:in `exitLibFunction' | |
from com/espertech/esper/epl/generated/EsperEPL2GrammarParser.java:13692:in `exitRule' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:71:in `exitRule' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:54:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from org/antlr/v4/runtime/tree/ParseTreeWalker.java:52:in `walk' | |
from com/espertech/esper/epl/parse/ParseHelper.java:55:in `walk' | |
from java/lang/reflect/Method.java:606:in `invoke' | |
from /Users/tagomoris/Documents/norikra/lib/norikra/query.rb:192:in `ast' | |
from (pry):4:in `evaluate_ruby' | |
from org/jruby/RubyBinding.java:134:in `eval' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:328:in `evaluate_ruby' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:278:in `re' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:254:in `rep' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:234:in `repl' | |
from org/jruby/RubyKernel.java:1521:in `loop' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:232:in `repl' | |
from org/jruby/RubyKernel.java:1284:in `catch' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:231:in `repl' | |
from org/jruby/RubyKernel.java:1284:in `catch' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_instance.rb:230:in `repl' | |
from /Users/tagomoris/Documents/norikra/vendor/jruby/1.9/gems/pry-0.9.12.6-java/lib/pry/pry_class.rb:169:in `start' | |
from script/spec_server_pry:104:in `(root)' | |
from script/script/spec_server_pry:104:in `(root)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I declare this patch is under GPLv2.