espertechinc / esper

Esper Complex Event Processing, Streaming SQL and Event Series Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile fails if json schema used and module path contains dots

yangguang760 opened this issue · comments

Esper 8.5.0
When use epl :

module yg.EdgeMM;

@buseventtype
create json schema sessionEdge (
symbol string,
ask bigDecimal,
bid bigDecimal
)

raise exception:

17:15:18.083 [ygtrader-my-pinned-dispatcher-37] ERROR c.e.e.c.internal.util.JaninoCompiler - Failed to compile: Line 2, Column 36: '{' expected instead of '.'
code:   1  package generated;
   2  public class sessionEdge__module_yg.EdgeMM {
   3  
   4    public sessionEdge__module_yg.EdgeMM(){
   5    }
   6  
   7  }

When use epl (no dots in the module path), it works well :

module EdgeMM;

@buseventtype
create json schema sessionEdge (
symbol string,
ask bigDecimal,
bid bigDecimal
)