Description
To allow debugging generated code, update codeGen of metadataHandler in JaninoRelMetadataProvider to include Class definition at begin of dynamic code.
JaninoRelMetadataProvider uses IClassBodyEvaluator to compile generated code. The generated classes can not be debugged in interactively using Idea using the method referenced by http://janino-compiler.github.io/janino/ because generated code only contains classBody.
If using ISimpleCompiler to compile complete compile unit instead of classBody, we could step into the code.
Attachments
Issue Links
- relates to
-
CALCITE-5442 Tweak janino code generation in EnumerableInterpretable to allow debugging
- Closed