Skip to content

HIVE-29107: Drop avatica version management and use of shaded jars #5984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2025

Conversation

zabetak
Copy link
Member

@zabetak zabetak commented Jul 18, 2025

Why are the changes needed?

Avatica is tightly connected with Calcite so it doesn't make sense to manage it separately Moreover, there is no need to use the shaded avatica artifact since the latter pulls in tons of things that Hive doesn't need.

Does this PR introduce any user-facing change?

No product facing changes for Hive users.

However, due to the removal of the shaded avatica jar some classes will not be part hive-exec so maven projects that depend on hive-exec may run into ClassNotFoundException issues if they depend implicitly on code bundled in avatica.

How was this patch tested?

  1. Existing tests
  2. Build the hive binaries using mvn clean install -DskipTests -Pdist
  3. Deployed to local cluster in pseudo-distributed mode and run a bunch of queries

Avatica is tighly connected with Calcite so it doesn't make sense to manage it separately
Moreover, there is no need to use the shaded avatica artifact since the latter pulls in tons of things that Hive doesn't need.
Copy link

Copy link
Member

@deniskuzZ deniskuzZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@zabetak zabetak changed the title Drop avatica version management and use of shaded jars HIVE-29107: Drop avatica version management and use of shaded jars Jul 28, 2025
@zabetak zabetak marked this pull request as ready for review July 28, 2025 09:19
@zabetak zabetak merged commit 46f2783 into apache:master Jul 29, 2025
4 checks passed
@zabetak zabetak deleted the avatica-dep branch July 29, 2025 17:20
@zabetak
Copy link
Member Author

zabetak commented Jul 29, 2025

Many thanks for the review @deniskuzZ !

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

Successfully merging this pull request may close these issues.

3 participants