@@ -3,7 +3,7 @@ content: |
33 - the ``--packages`` option to download the MongoDB Spark Connector
44 package. The following package is available:
55
6- - ``mongo-spark-connector_2.11 `` for use with Scala 2.11 .x
6+ - ``mongo-spark-connector_{+scala-version+} `` for use with Scala 2.12 .x
77
88 - the ``--conf`` option to configure the MongoDB Spark Connnector.
99 These settings configure the ``SparkConf`` object.
@@ -39,7 +39,7 @@ content: |
3939
4040 ./bin/spark-shell --conf "spark.mongodb.input.uri=mongodb://127.0.0.1/test.myCollection?readPreference=primaryPreferred" \
4141 --conf "spark.mongodb.output.uri=mongodb://127.0.0.1/test.myCollection" \
42- --packages org.mongodb.spark:mongo-spark-connector_2.11 :{+current-version+}
42+ --packages org.mongodb.spark:mongo-spark-connector_{+scala-version+} :{+current-version+}
4343
4444 .. include:: /includes/extracts/list-configuration-explanation.rst
4545
@@ -56,7 +56,7 @@ content: |
5656
5757 ./bin/pyspark --conf "spark.mongodb.input.uri=mongodb://127.0.0.1/test.myCollection?readPreference=primaryPreferred" \
5858 --conf "spark.mongodb.output.uri=mongodb://127.0.0.1/test.myCollection" \
59- --packages org.mongodb.spark:mongo-spark-connector_2.11 :{+current-version+}
59+ --packages org.mongodb.spark:mongo-spark-connector_{+scala-version+} :{+current-version+}
6060
6161 .. include:: /includes/extracts/list-configuration-explanation.rst
6262
@@ -73,7 +73,7 @@ content: |
7373
7474 ./bin/sparkR --conf "spark.mongodb.input.uri=mongodb://127.0.0.1/test.myCollection?readPreference=primaryPreferred" \
7575 --conf "spark.mongodb.output.uri=mongodb://127.0.0.1/test.myCollection" \
76- --packages org.mongodb.spark:mongo-spark-connector_2.11 :{+current-version+}
76+ --packages org.mongodb.spark:mongo-spark-connector_{+scala-version+} :{+current-version+}
7777
7878 .. include:: /includes/extracts/list-configuration-explanation.rst
7979 ...
0 commit comments