Skip to content

[SPARK-43320][SQL][HIVE] Directly call Hive 2.3.9 API - #40995

Closed
pan3793 wants to merge 1 commit into
apache:masterfrom
pan3793:SPARK-43320
Closed

[SPARK-43320][SQL][HIVE] Directly call Hive 2.3.9 API#40995
pan3793 wants to merge 1 commit into
apache:masterfrom
pan3793:SPARK-43320

Conversation

@pan3793

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Call Hive 2.3.9 API directly instead of reflection, basically reverts SPARK-37446.

Why are the changes needed?

Switch to direct calling to achieve compile time check.

Spark does not officially support building against Hive other than 2.3.9, for cases listed in SPARK-37446, it's the vendor's responsibility to port HIVE-21563 into their maintained Hive 2.3.8-[vender-custom-version].

See full discussion in #40893.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass GA.

@pan3793

Copy link
Copy Markdown
MemberAuthor

@srowen

Copy link
Copy Markdown
Member

Merged to master

@dongjoon-hyundongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

cc @sunchao once more~

@sunchao

Copy link
Copy Markdown
Member

Late LGTM. Was trying to +1 and merge this but @srowen beat me on it.

LuciferYang pushed a commit to LuciferYang/spark that referenced this pull request May 10, 2023
### What changes were proposed in this pull request?
Call Hive 2.3.9 API directly instead of reflection, basically reverts SPARK-37446.
### Why are the changes needed?
Switch to direct calling to achieve compile time check.
Spark does not officially support building against Hive other than 2.3.9, for cases listed in SPARK-37446, it's the vendor's responsibility to port HIVE-21563 into their maintained Hive 2.3.8-[vender-custom-version].
See full discussion in apache#40893.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass GA.
Closesapache#40995 from pan3793/SPARK-43320.
Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Sean Owen <srowen@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@pan3793@srowen@sunchao@dongjoon-hyun