File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ toc_landing_pages = ["configuration"]
9
9
driver-short = " Spark Connector"
10
10
driver-long = " MongoDB {+driver-short+}"
11
11
current-version = " 10.1.0"
12
+ artifact-id-2-13 = " mongo-spark-connector_2.13"
13
+ artifact-id-2-12 = " mongo-spark-connector_2.12"
12
14
spark-core-version = " 3.3.1"
13
15
spark-sql-version = " 3.3.1"
14
16
scala-previous = " 2.12"
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ content: |
39
39
40
40
./bin/spark-shell --conf "spark.mongodb.read.connection.uri=mongodb://127.0.0.1/test.myCollection?readPreference=primaryPreferred" \
41
41
--conf "spark.mongodb.write.connection.uri=mongodb://127.0.0.1/test.myCollection" \
42
- --packages org.mongodb.spark:mongo-spark-connector :{+current-version+}
42
+ --packages org.mongodb.spark:{+artifact-id-2-12+} :{+current-version+}
43
43
44
44
.. include:: /includes/extracts/list-configuration-explanation.rst
45
45
@@ -56,7 +56,7 @@ content: |
56
56
57
57
./bin/pyspark --conf "spark.mongodb.read.connection.uri=mongodb://127.0.0.1/test.myCollection?readPreference=primaryPreferred" \
58
58
--conf "spark.mongodb.write.connection.uri=mongodb://127.0.0.1/test.myCollection" \
59
- --packages org.mongodb.spark:mongo-spark-connector :{+current-version+}
59
+ --packages org.mongodb.spark:{+artifact-id-2-12+} :{+current-version+}
60
60
61
61
.. include:: /includes/extracts/list-configuration-explanation.rst
62
62
@@ -73,7 +73,7 @@ content: |
73
73
74
74
./bin/sparkR --conf "spark.mongodb.read.connection.uri=mongodb://127.0.0.1/test.myCollection?readPreference=primaryPreferred" \
75
75
--conf "spark.mongodb.write.connection.uri=mongodb://127.0.0.1/test.myCollection" \
76
- --packages org.mongodb.spark:mongo-spark-connector :{+current-version+}
76
+ --packages org.mongodb.spark:{+artifact-id-2-12+} :{+current-version+}
77
77
78
78
.. include:: /includes/extracts/list-configuration-explanation.rst
79
79
...
You can’t perform that action at this time.
0 commit comments