You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Feinauer (JIRA)" <ji...@apache.org> on 2018/12/26 20:45:00 UTC

[jira] [Created] (CALCITE-2756) ForEachStatement generates invalid Java Code

Julian Feinauer created CALCITE-2756:
----------------------------------------

             Summary: ForEachStatement generates invalid Java Code
                 Key: CALCITE-2756
                 URL: https://issues.apache.org/jira/browse/CALCITE-2756
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Feinauer
            Assignee: Julian Feinauer


Code generated by the ForEachStatement in org.apache.calcite.linq4j.tree looks like:

{code:java}
 for (i : list) {
    ...
  }
{code}

I.e. the Paramter Type for the looping parameter is missing.
Thus, this cannot be used for codegen because Janino fails then.




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