1
0

[MINOR] Update README.md (#4492)

Update Spark 3 build instructions
This commit is contained in:
Raymond Xu
2022-01-02 20:34:37 -08:00
committed by GitHub
parent 1e2d2c437d
commit 0273f2e65d

View File

@@ -78,12 +78,19 @@ The default Scala version supported is 2.11. To build for Scala 2.12 version, bu
mvn clean package -DskipTests -Dscala-2.12
```
### Build with Spark 3.0.0
### Build with Spark 3
The default Spark version supported is 2.4.4. To build for Spark 3.0.0 version, build using `spark3` profile
The default Spark version supported is 2.4.4. To build for different Spark 3 versions, use the corresponding profile
```
# Build against Spark 3.2.0 (default build shipped with the public jars)
mvn clean package -DskipTests -Dspark3
# Build against Spark 3.1.2
mvn clean package -DskipTests -Dspark3.1.x
# Build against Spark 3.0.3
mvn clean package -DskipTests -Dspark3.0.x
```
### Build without spark-avro module