You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "jingzhang (JIRA)" <ji...@apache.org> on 2018/02/28 03:06:03 UTC

[jira] [Updated] (CALCITE-2196) Update codeGen of metadataHandler in JaninoRelMetadataProvider to include Class definition at begin of dynamic code.

     [ https://issues.apache.org/jira/browse/CALCITE-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jingzhang updated CALCITE-2196:
-------------------------------
    External issue URL: https://github.com/apache/calcite/pull/639/files

> Update codeGen of metadataHandler in JaninoRelMetadataProvider to include Class definition at begin of dynamic code.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-2196
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2196
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: jingzhang
>            Assignee: Julian Hyde
>            Priority: Trivial
>
> 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.



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