Skip to content

Consider removing guava dependency #2788

Open

Description

@kostya-sh

guava is a large dependency but as far as I can tell it is only used in a handful of places:

https://github.com/search?q=repo%3AClickHouse%2Fclickhouse-java+com.google.common&type=code

Activity

  1. chernser commented on Mar 16, 2026

    @chernser
    Contributor

    Good day, @kostya-sh !

    We will work on this. Just need to find good alternative for fast immutable collections. Everything else we can replace.

  2. kostya-sh commented on Mar 19, 2026

    @kostya-sh
    Author

    Consider using Map.ofEntries and List.of. These methods available from Java 9.

  3. chernser commented on Mar 20, 2026

    @chernser
    Contributor

    @kostya-sh
    Thanks!
    however we have to support 1.8 for some time. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions