rdblue commented on issue #162: Upgrade Guava and don't use deprecated methods 
like Objects#ToStringHelper
URL: 
https://github.com/apache/incubator-iceberg/issues/162#issuecomment-490960867
 
 
   I definitely agree about minimizing the use of deprecated APIs that we know 
will be a problem for people that upgrade.
   
   My concern about upgrading the version we use is that it could cause 
problems downstream. Do we expect everyone to shade guava? Also, now that we 
are using Caffeine, should we consider moving off of Guava?
   
   I think we mainly use Guava for 4 things:
   * Caches - replaced by Caffeine
   * Iterables and Iterators
   * Preconditions - easily replaced
   * Maps, Lists, etc. for new and immutable containers
   
   If we can find a good alternative for iterables/iterators that hopefully 
doesn't require too much of the streams API, maybe we should consider using 
that. We could also build alternatives of those for Iceberg; we already have a 
fair number of them in `CloseableIterable`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to