Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #6297] Package Spark SQL engine both Scala 2.12 and 2.13
# 🔍 Description ## Issue References 🔗 This pull request fixes #6297 ## Describe Your Solution 🔧 Here are my main modifications: 1. In the `build/dist` file, I added an additional packaging command that detects the version of `SCALA_VERSION`. If it is version 2.12, then it will additionally package version 2.13, otherwise it will package version 2.12 2. In the section of `# Copy spark engines`, the Jar packages of versions 2.12 and 2.13 will be moved to `$DISTDIR/externals/engines/spark/` This is my first time submitting a PR, so there may be many unfamiliar areas, and I don't know if my changes meet the needs of the community. More guidance may be needed. When testing locally, it was able to be packaged successfully ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 ![image](https://github.com/apache/kyuubi/assets/96274454/fb1981e0-dc3f-47a3-a497-2ae0d3161e6b) ![image](https://github.com/apache/kyuubi/assets/96274454/b7307738-7699-4c2c-b6ad-08b323539d90) --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6305 from PorterZhang2021/issue-6297. Closes #6297 efc8643 [PorterZhang2021] Improved task "Package Spark SQL engine both Scala 2.12 and 2.13" #6297 cb9310b [PorterZhang2021] Improved task "Package Spark SQL engine both Scala 2.12 and 2.13" #6297 b6c9075 [PorterZhang2021] Finished task "Package Spark SQL engine both Scala 2.12 and 2.13" #6297 Authored-by: PorterZhang2021 <porterzhang@aliyun.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
- Loading branch information