You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Santiago M. Mola (JIRA)" <ji...@apache.org> on 2015/05/17 18:13:59 UTC

[jira] [Created] (CALCITE-736) Remove the use of Guava types from public methods and fields

Santiago M. Mola created CALCITE-736:
----------------------------------------

             Summary: Remove the use of Guava types from public methods and fields
                 Key: CALCITE-736
                 URL: https://issues.apache.org/jira/browse/CALCITE-736
             Project: Calcite
          Issue Type: Improvement
            Reporter: Santiago M. Mola
            Assignee: Julian Hyde
            Priority: Minor


Guava is involved in major dependency hells in Java, with Hadoop the most affected ecosystem.

Removing Guava types from visible parts of Calcite API will help containing damage to backwards compatibility if/when, at some point, shading needs to be done.

This seems quite doable in calcite, since most of its use of Guava in public API is ImmutableList. Rewriting it to List and internally doing defensive copies with ImmutableList.copyOf (which does not really copy if the input is already an ImmutableList) should have a negligible impact.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)