wangxianbin created KYLIN-3657:
----------------------------------

             Summary: sql length over 64 KB cause query fail
                 Key: KYLIN-3657
                 URL: https://issues.apache.org/jira/browse/KYLIN-3657
             Project: Kylin
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: v2.4.0
            Reporter: wangxianbin


at org.apache.calcite.avatica.Helper.wrap(Helper.java:37)
 at 
org.apache.calcite.adapter.enumerable.EnumerableInterpretable.toBindable(EnumerableInterpretable.java:108)
 at 
org.apache.calcite.prepare.CalcitePrepareImpl$CalcitePreparingStmt.implement(CalcitePrepareImpl.java:1281)
 at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:331)
 at org.apache.calcite.prepare.Prepare.prepareSql(Prepare.java:228)
 at 
org.apache.calcite.prepare.CalcitePrepareImpl.prepare2_(CalcitePrepareImpl.java:801)
 at 
org.apache.calcite.prepare.CalcitePrepareImpl.prepare_(CalcitePrepareImpl.java:656)
 at 
org.apache.calcite.prepare.CalcitePrepareImpl.prepareSql(CalcitePrepareImpl.java:618)
 at 
org.apache.calcite.jdbc.CalciteConnectionImpl.parseQuery(CalciteConnectionImpl.java:214)
 at 
org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement_(CalciteConnectionImpl.java:196)
 ... 84 more
Caused by: org.codehaus.janino.JaninoRuntimeException: Code attribute in class 
"Baz$1$1" grows beyond 64 KB
 at org.codehaus.janino.CodeContext.makeSpace(CodeContext.java:936)
 at org.codehaus.janino.CodeContext.write(CodeContext.java:830)
 at org.codehaus.janino.UnitCompiler.writeOpcode(UnitCompiler.java:10179)
 at org.codehaus.janino.UnitCompiler.referenceThis(UnitCompiler.java:8228)
 at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3328)
 at org.codehaus.janino.UnitCompiler.access$7800(UnitCompiler.java:183)
 at 
org.codehaus.janino.UnitCompiler$10.visitQualifiedThisReference(UnitCompiler.java:3265)
 at org.codehaus.janino.Java$QualifiedThisReference.accept(Java.java:3336)
 at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:3278)
 at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4345)
 at org.codehaus.janino.UnitCompiler.compileContext2(UnitCompiler.java:3178)
 at org.codehaus.janino.UnitCompiler.access$5600(UnitCompiler.java:183)
 at org.codehaus.janino.UnitCompiler$9.visitFieldAccess(UnitCompiler.java:3140)
 at org.codehaus.janino.Java$FieldAccess.accept(Java.java:3232)
 at org.codehaus.janino.UnitCompiler.compileContext(UnitCompiler.java:3148)
 at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4344)
 at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3904)
 at org.codehaus.janino.UnitCompiler.access$6900(UnitCompiler.java:183)
 at 
org.codehaus.janino.UnitCompiler$10.visitMethodInvocation(UnitCompiler.java:3251)
 at org.codehaus.janino.Java$MethodInvocation.accept(Java.java:3974)
 at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:3278)
 at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4345)
 at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2969)
 at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:183)
 at 
org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2797)
 at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)
 at org.codehaus.janino.UnitCompiler.compileBoolean(UnitCompiler.java:2830)
 at org.codehaus.janino.UnitCompiler.compileBoolean2(UnitCompiler.java:2923)
 at org.codehaus.janino.UnitCompiler.access$5000(UnitCompiler.java:183)
 at 
org.codehaus.janino.UnitCompiler$8.visitBinaryOperation(UnitCompiler.java:2797)
 at org.codehaus.janino.Java$BinaryOperation.accept(Java.java:3768)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to