Skip to content

[SPARK-33696][BUILD][SQL] Upgrade built-in Hive to 2.3.8 #754

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

Closed
wants to merge 1 commit into from

Conversation

LorenzoMartini
Copy link

@LorenzoMartini LorenzoMartini commented Apr 19, 2021

Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain)

apache#30657 or apache@c87b008

What changes were proposed in this pull request?

Bump Hive version to 2.3.8. From bump pr:
Hive 2.3.8 changes:
HIVE-19662: Upgrade Avro to 1.8.2
HIVE-24324: Remove deprecated API usage from Avro
HIVE-23980: Shade Guava from hive-exec in Hive 2.3
HIVE-24436: Fix Avro NULL_DEFAULT_VALUE compatibility issue
HIVE-24512: Exclude calcite in packaging.
HIVE-22708: Fix for HttpTransport to replace String.equals
HIVE-24551: Hive should include transitive dependencies from calcite after shading it
HIVE-24553: Exclude calcite from test-jar dependency of hive-exec

The cherry-pick is not 100% clean as there are some small differences in the upstream history.
One commit we didn't pick up is apache@10b6466 that instroduced a test tha we don't have and therefore you won't see the change here.

There was also some refactoring (apache@a127387) with removal of references to avro 1.2 that added a small if/else codepath for avro version. We don't have that so I kept the code as-is.

The last difference is in the spark-deps-hadoop-hive files. We only had 1 reference to hive, while upstream had many. I included all those from upstream.

Why are the changes needed?

We need this bump to make the Avro bump work

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests

@LorenzoMartini LorenzoMartini deleted the lmartini/hive-2.3.8 branch April 19, 2021 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant