-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Conversation
There was a problem hiding this 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 .
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
Show resolved
Hide resolved
Should it be mentioned at |
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/HiveTempPath.scala
Outdated
Show resolved
Hide resolved
@@ -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 { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
7738fab
to
643efc7
Compare
Merged to master. |
### 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]>
…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]>
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.