You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/08/18 22:05:20 UTC

[jira] [Created] (OPTIQ-380) Fix for Guava 11.0.2

Julian Hyde created OPTIQ-380:
---------------------------------

             Summary: Fix for Guava 11.0.2
                 Key: OPTIQ-380
                 URL: https://issues.apache.org/jira/browse/OPTIQ-380
             Project: Optiq
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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

{code}
    <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>
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)