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

Downgrade to Guava 11.0.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0-incubating
    • None
    • None

    Description

      Downgrade to guava-11.0.2. First, change pom.xml to

          <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <!-- We support versions as old as 11.0.2 (the version used by                                                                                                                                                                                                                                                                                                        
                 Hadoop) but prefer more recent versions. -->
            <version>11.0.2</version>
          </dependency>
      

      Next, fix compile errors:

      • The class FluentIterable was introduced in guava-12.0. Optiq uses guava-11.0.2 (because of Hive and Hadoop).
      • In 11.0.2 ImmutableSortedMap only implements SortedMap, but we rely on it implementing NavigableMap (not until 12).
      • Similarly ImmutableSortedSet.

      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: