Skip to content

Commit d734207

Browse files
committed
add scala-2.13 profile to the docs of building from code
1 parent 8f529aa commit d734207

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/contributing/code/building.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@ Since v1.1.0, Kyuubi support building with different Spark profiles,
6767
| -Pspark-3.2 | No | 1.4.0 |
6868
| -Pspark-3.3 | Yes | 1.6.0 |
6969

70+
## Building Kyuubi Against Different Scala Versions
71+
72+
Since v1.8.0, Kyuubi support building with different Scala profile. Currently, Kyuubi supports building with Scala 2.12 and 2.13, while Scala 2.12 by default.
73+
74+
| Profile | Default | Since |
75+
|--------------|---------|-------|
76+
| (Scala 2.12) || - |
77+
| -Pscala-2.13 | | 1.8.0 |
78+
79+
Please activate `scala-2.13` profile when Scala 2.13 support is needed. The GA tests have covered integration test with the Kyuubi server, engines and related plugins, while the Flink engine and it's integration tests are not included for the reason that Flink does not support Scala 2.13 yet and will pull out client support for Scala.
80+
81+
For the Scala version for Spark engines, the server will look up the `SPARK_SCALA_VERSION` system environment variable first, and then the Scala version of the server compiled with if the former one not set. For the Scala version for other engines, the server will use the Scala version of the server compiled with.
82+
7083
## Building With Apache dlcdn Site
7184

7285
By default, we use `https://archive.apache.org/dist/` to download the built-in release packages of engines,

0 commit comments

Comments
 (0)