Skip to content
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

[SPARK-45328][SQL] Remove Hive support prior to 2.0.0 #43116

Closed
wants to merge 4 commits into from

Conversation

HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR proposes to remove Hive support prior to 2.0.0 (spark.sql.hive.metastore.version).

Why are the changes needed?

We dropped JDK 8 and 11, and Hive prior to 2.0.0 cannot work together. They are actually already the dead code.

Does this PR introduce any user-facing change?

Technically no, because this wouldn't already work.

How was this patch tested?

Nope because there is no way to test them.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the SQL label Sep 26, 2023
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM (Pending CIs). Thank you, @HyukjinKwon .

@pan3793
Copy link
Member

pan3793 commented Sep 26, 2023

Should it be mentioned at docs/sql-migration-guide.md?

@github-actions github-actions bot added the DOCS label Sep 26, 2023
@@ -1366,7 +1366,7 @@ private[client] class Shim_v1_1 extends Shim_v1_0 {

}

private[client] class Shim_v1_2 extends Shim_v1_1 {
private class Shim_v1_2 extends Shim_v1_1 {
Copy link
Member

Choose a reason for hiding this comment

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

It does not really help, would rather keep it as-is to reduce the git history

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's address them in your PR. Let me get this in first.

@HyukjinKwon
Copy link
Member Author

Merged to master.

HyukjinKwon pushed a commit that referenced this pull request Sep 30, 2023
### What changes were proposed in this pull request?

This PR aims to clean up unused Hive shim classes for Hive prior 2.0.0, it's pure refactor, kind of something like `git squash`

### Why are the changes needed?

SPARK-45328 removed Hive support prior to 2.0.0, this PR is the next step of the code clean up, see #43116 (comment)

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass GA

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #43151 from pan3793/SPARK-45358.

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
MaxGekk pushed a commit that referenced this pull request Oct 27, 2023
…d versions

### What changes were proposed in this pull request?

A minor follow-up of #43116

### Why are the changes needed?

Correct the docs of `spark.sql.hive.metastore.version`

### Does this PR introduce _any_ user-facing change?

Yes, docs changed.

### How was this patch tested?

Review

### Was this patch authored or co-authored using generative AI tooling?

No

Closes #43552 from pan3793/SPARK-45328-doc.

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
@HyukjinKwon HyukjinKwon deleted the SPARK-45328 branch January 15, 2024 00:51
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