File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,13 @@ You can configure the following properties to read from MongoDB:
120
120
|
121
121
| **Default:** ``true``
122
122
123
-
123
+ * - ``outputExtendedJson``
124
+ - | When ``true``, the connector converts BSON types not supported by Spark into
125
+ extended JSON strings.
126
+ When ``false``, the connector uses the original relaxed JSON format for
127
+ unsupported types.
128
+ |
129
+ | **Default:** ``false``
124
130
125
131
.. _partitioner-conf:
126
132
Original file line number Diff line number Diff line change @@ -140,6 +140,12 @@ The following options for writing to MongoDB are available:
140
140
``false``.
141
141
|
142
142
| **Default:** ``true``
143
+
144
+ * - ``convertJson``
145
+ - | When ``true``, the connector parses the string and converts extended JSON
146
+ into BSON.
147
+ |
148
+ | **Default:** ``false``
143
149
144
150
.. _configure-output-uri:
145
151
You can’t perform that action at this time.
0 commit comments