You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Bipin Prasad (Jira)" <ji...@apache.org> on 2022/10/21 19:35:00 UTC

[jira] [Updated] (STORM-3884) Bump calcite-core from 1.14.0 to 1.32.0

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

Bipin Prasad updated STORM-3884:
--------------------------------
    Description: 
h1. Bump calcite-core from 1.14.0 to 1.32.0

Also fix this error with 1.32.0
{code:java}
[INFO] --- fmpp-maven-plugin:1.0:generate (generate-fmpp-sources) @ storm-sql-core ---
- Executing: Parser.jj
log4j:WARN No appenders could be found for logger (freemarker.cache).
log4j:WARN Please initialize the log4j system properly.
  !!! FAILED
[ERROR] FMPP processing session failed.
Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> default  [in template "Parser.jj" at line 1965, column 26]


----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----


----
FTL stack trace ("~" means nesting-related):
	- Failed at: #list (parser.joinTypes!default.parse...  [in template "Parser.jj" at line 1965, column 1]
----
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.338 s
[INFO] Finished at: 2022-10-21T10:25:31-07:00 {code}

Offending lines in generated Parser.jj (in target/codegen/templates/Parser.jj) is 
{code}{
    (
    LOOKAHEAD(3) // required for "LEFT SEMI JOIN" in Babel
<#list (parser.joinTypes!default.parser.joinTypes) as method>
        joinType = ${method}()
    |
</#list>
{code}


  was:
h1. Bump calcite-core from 1.14.0 to 1.32.0

Also fix this error with 1.32.0
{code:java}
[INFO] --- fmpp-maven-plugin:1.0:generate (generate-fmpp-sources) @ storm-sql-core ---
- Executing: Parser.jj
log4j:WARN No appenders could be found for logger (freemarker.cache).
log4j:WARN Please initialize the log4j system properly.
  !!! FAILED
[ERROR] FMPP processing session failed.
Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> default  [in template "Parser.jj" at line 1965, column 26]


----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----


----
FTL stack trace ("~" means nesting-related):
	- Failed at: #list (parser.joinTypes!default.parse...  [in template "Parser.jj" at line 1965, column 1]
----
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.338 s
[INFO] Finished at: 2022-10-21T10:25:31-07:00 {code}


> Bump calcite-core from 1.14.0 to 1.32.0
> ---------------------------------------
>
>                 Key: STORM-3884
>                 URL: https://issues.apache.org/jira/browse/STORM-3884
>             Project: Apache Storm
>          Issue Type: Dependency upgrade
>          Components: storm-sql
>            Reporter: Bipin Prasad
>            Assignee: Bipin Prasad
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> h1. Bump calcite-core from 1.14.0 to 1.32.0
> Also fix this error with 1.32.0
> {code:java}
> [INFO] --- fmpp-maven-plugin:1.0:generate (generate-fmpp-sources) @ storm-sql-core ---
> - Executing: Parser.jj
> log4j:WARN No appenders could be found for logger (freemarker.cache).
> log4j:WARN Please initialize the log4j system properly.
>   !!! FAILED
> [ERROR] FMPP processing session failed.
> Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
> ==> default  [in template "Parser.jj" at line 1965, column 26]
> ----
> Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
> ----
> ----
> FTL stack trace ("~" means nesting-related):
> 	- Failed at: #list (parser.joinTypes!default.parse...  [in template "Parser.jj" at line 1965, column 1]
> ----
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  8.338 s
> [INFO] Finished at: 2022-10-21T10:25:31-07:00 {code}
> Offending lines in generated Parser.jj (in target/codegen/templates/Parser.jj) is 
> {code}{
>     (
>     LOOKAHEAD(3) // required for "LEFT SEMI JOIN" in Babel
> <#list (parser.joinTypes!default.parser.joinTypes) as method>
>         joinType = ${method}()
>     |
> </#list>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)