Uh oh!
There was an error while loading. Please reload this page.
[SPARK-45309][SQL] Remove all SystemUtils.isJavaVersionAtLeast with JDK 9/11/17 - #43098
[SPARK-45309][SQL] Remove all SystemUtils.isJavaVersionAtLeast with JDK 9/11/17#43098HyukjinKwon wants to merge 3 commits into
Conversation
HyukjinKwon
commented
Sep 25, 2023
HyukjinKwon
commented
Sep 25, 2023
@LuciferYang and @cloud-fan . They are mostly Hive and SQL direct buffer stuff. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
still need this val disableRewrite?
There was a problem hiding this comment.
Will there be a chance for these ignored cases to be restarted?
There was a problem hiding this comment.
Let's leave it for now. I think this test does not target to test 0.12 (although the metastore version is set like that).
There was a problem hiding this comment.
shall we change the hive version in these tests?
There was a problem hiding this comment.
For this and and the last one, we could. But the others don't set the Hive version apparently. I will just take a look separately.
There was a problem hiding this comment.
For this function, it should be possible to further refactor to avoid using un-exported APIs and internal APIs, but the current changes in this pr are ok.
For the following case, it should also be possible to perform cleanup: Additionally, the Of course, they can also belong to a separate pr |
HyukjinKwon
commented
Sep 25, 2023
Let me clean them up together here. Thanks! |
HyukjinKwon
commented
Sep 25, 2023
For first and second, they are being fixed in a different PR (as it directly relates to one specific past fix, and I would like the author to review). |
Uh oh!
There was an error while loading. Please reload this page.
HyukjinKwon
commented
Sep 25, 2023
Let me turn this to draft for now. I think some tests might fail. |
7e09f07 to
f9296bbCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Mostly this PR is right, but we had better drop old HMS independently first.
f9296bb to
874fe55Compare874fe55 to
8493474CompareUh oh!
There was an error while loading. Please reload this page.
HyukjinKwon
commented
Sep 26, 2023
Merged to master. |
HyukjinKwon
commented
Sep 26, 2023
Oops, I realised that there wasn't an approval here. I can revert or address the comments if there are some. Apologies. |
…eTable` ### What changes were proposed in this pull request? This pr aims to cleans up the unused local variables `partitionPath`, `hiveVersion`, and `doHiveOverwrite` in `InsertIntoHiveTable`. The code that used these variables has already been cleaned up in SPARK-45309 | #43098. ### Why are the changes needed? Code cleanup. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GitHub Actions ### Was this patch authored or co-authored using generative AI tooling? No Closes#44433 from LuciferYang/insert-into-hive-table. Lead-authored-by: yangjie01 <yangjie01@baidu.com> Co-authored-by: YangJie <yangjie01@baidu.com> Signed-off-by: Kent Yao <yao@apache.org>
What changes were proposed in this pull request?
This PR removes all SystemUtils.isJavaVersionAtLeast with JDK 9/11/17.
Why are the changes needed?
Does this PR introduce any user-facing change?
No.
How was this patch tested?
CI in this PR should test them out.
Was this patch authored or co-authored using generative AI tooling?
No.