Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1590

Support Guava version 21.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • None
    • None

    Description

      Guava version 21.0 is an important version because it is the first with JDK 8 support (hence lambdas). Make sure that Calcite runs on it (on JDK 8 and later). Continue to support other versions of Guava as early as 14.0.1.

      Compilation using mvn clean -Dguava.version=21.0 clean test on JDK8 currently yields many errors like the following:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project calcite-core: Compilation failure: Compilation failure:
      [ERROR] /Users/jhyde/open1/calcite.2/core/src/main/java/org/apache/calcite/rel/core/Values.java:[68,31] <anonymous org.apache.calcite.rel.core.Values$2> is not abstract and does not override abstract method test(org.apache.calcite.rel.core.Values) in java.util.function.Predicate
      

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: