wForget opened a new pull request, #7614:
URL: https://github.com/apache/kyuubi/pull/7614
<!--
Thanks for sending a pull request!
Here are some tips for you:
1. If this is your first time, please read our contributor guidelines:
https://kyuubi.readthedocs.io/en/master/contributing/code/index.html
2. If the PR is related to an issue in
https://github.com/apache/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title,
e.g., '[KYUUBI #XXXX] Your PR title ...'.
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g.,
'[WIP][KYUUBI #XXXX] Your PR title ...'.
-->
### Why are the changes needed?
`build/dist` always builds an extra Spark SQL engine for the other Scala
binary version so that both Scala 2.12 and 2.13 engine artifacts are packaged.
However, Spark 4.x is published for Scala 2.13 only. When building a
distribution with Spark 4.2 and Scala 2.13, the extra build incorrectly
attempts to resolve Spark 4.2 artifacts for Scala 2.12 and fails.
This patch builds and packages the extra Spark engine only for Spark 3.3,
3.4, and 3.5, which support both Scala versions. For other Spark versions, only
the engine for the selected Scala version is packaged.
Closes #7613.
### How was this patch tested?
### Was this patch authored or co-authored using generative AI tooling?
Assisted-by: Codex:GPT-5.6
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]