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

[KYUUBI #5336] Spark extension supports Spark 3.5 #5336

Closed
wants to merge 8 commits into from

Conversation

wForget
Copy link
Member

@wForget wForget commented Sep 27, 2023

Why are the changes needed?

It is basically copied from kyuubi-extension-spark-3-4.

How was this patch tested?

Compiled successfully:

build/mvn clean install -DskipTests -Pflink-provided,spark-provided,hive-provided,spark-3.5
  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

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

No

@github-actions github-actions bot added kind:infra license, community building, project builds, asf infra related, etc. module:spark kind:build module:extensions labels Sep 27, 2023
@wForget wForget changed the title Make kyuubi spark extension compatible with Spark3.5 [KYUUBI #5336] Make kyuubi spark extension compatible with Spark3.5 Sep 27, 2023
@wForget wForget changed the title [KYUUBI #5336] Make kyuubi spark extension compatible with Spark3.5 [KYUUBI #5336] Add kyuubi spark extension for spark 3.5 Sep 27, 2023
@pan3793 pan3793 requested a review from ulysses-you September 27, 2023 11:18
@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2023

Codecov Report

Merging #5336 (7ba9980) into master (34bf47c) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #5336   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         590     588    -2     
  Lines       33493   33399   -94     
  Branches     4424    4387   -37     
======================================
+ Misses      33493   33399   -94     

see 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pan3793
Copy link
Member

pan3793 commented Sep 27, 2023

Seems CI does not cover Spark 3.5

@wForget wForget marked this pull request as draft September 28, 2023 03:30
@wForget wForget changed the title [KYUUBI #5336] Add kyuubi spark extension for spark 3.5 [WIP][KYUUBI #5336] Add kyuubi spark extension for spark 3.5 Sep 28, 2023
@wForget
Copy link
Member Author

wForget commented Sep 28, 2023

Seems CI does not cover Spark 3.5

I have added CI for spark 3.5 and it seems that there are some failed tests, I will try to fix them.

@@ -157,7 +157,7 @@
}, {
"classname" : "org.apache.spark.sql.catalyst.plans.logical.CreateTableAsSelect",
"tableDescs" : [ {
"fieldName" : "left",
"fieldName" : "name",
Copy link
Member Author

@wForget wForget Oct 7, 2023

Choose a reason for hiding this comment

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

@wForget wForget changed the title [WIP][KYUUBI #5336] Add kyuubi spark extension for spark 3.5 [KYUUBI #5336] Compatible with Spark3.5 Oct 7, 2023
@wForget wForget marked this pull request as ready for review October 7, 2023 05:15
@wForget
Copy link
Member Author

wForget commented Oct 7, 2023

@pan3793 @ulysses-you The test cases have been run successfully and this is ready for review. cc @bowenliang123

Copy link
Contributor

@bowenliang123 bowenliang123 left a comment

Choose a reason for hiding this comment

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

LGTM

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@pan3793 pan3793 changed the title [KYUUBI #5336] Compatible with Spark3.5 [KYUUBI #5336] Compatible with Spark 3.5 Oct 7, 2023
@AngersZhuuuu AngersZhuuuu mentioned this pull request Oct 8, 2023
16 tasks
@pan3793 pan3793 added this to the v1.8.0 milestone Oct 9, 2023
@wForget wForget requested a review from pan3793 October 9, 2023 02:48
@pan3793 pan3793 changed the title [KYUUBI #5336] Compatible with Spark 3.5 [KYUUBI #5336] Spark extension supports Spark 3.5 Oct 9, 2023
@pan3793 pan3793 closed this in d2c072b Oct 9, 2023
pan3793 pushed a commit that referenced this pull request Oct 9, 2023
### _Why are the changes needed?_

It is basically copied from `kyuubi-extension-spark-3-4`.

### _How was this patch tested?_

Compiled successfully:
```
build/mvn clean install -DskipTests -Pflink-provided,spark-provided,hive-provided,spark-3.5
```

- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request

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

No

Closes #5336 from wForget/dev_spark_3_5.

Closes #5336

7ba9980 [wforget] remove iceberg.version in spark-3.5 profile
a18ce16 [wforget] Regenerate KyuubiEnsureRequirements based on EnsureRequirements in spark 3.5
4725c47 [wforget] fix iceberg version
f5a8ea9 [wforget] Bump iceberg 1.4.0
06558dc [wforget] make kyuubi-spark-authz plugin compatible with Spark3.5
90d0e4c [wforget] make kyuubi-spark-authz plugin compatible with Spark3.5
4bc8d24 [wforget] add ci
1b3f2d9 [wforget] Make kyuubi spark extension compatible with Spark3.5

Authored-by: wforget <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit d2c072b)
Signed-off-by: Cheng Pan <[email protected]>
@pan3793
Copy link
Member

pan3793 commented Oct 9, 2023

Thanks, merged to master/1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:build kind:infra license, community building, project builds, asf infra related, etc. module:authz module:extensions module:spark
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants