Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3884

Bump calcite-core from 1.14.0 to 1.32.0

    XMLWordPrintableJSON

Details

    • Dependency upgrade
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • storm-sql
    • None

    Description

      Bump calcite-core from 1.14.0 to 1.32.0

      Also fix this error with 1.32.0

      [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 

      Offending lines in generated Parser.jj (in target/codegen/templates/Parser.jj) is

      {
          (
          LOOKAHEAD(3) // required for "LEFT SEMI JOIN" in Babel
      <#list (parser.joinTypes!default.parser.joinTypes) as method>
              joinType = ${method}()
          |
      </#list>
      

      Attachments

        Issue Links

          Activity

            People

              bipinprasad Bipin Prasad
              bipinprasad Bipin Prasad
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m