Skip to content

Commit 2c1926e

Browse files
authored
Docsp 26910 - bson types (#151)
* wip * wip * clarify * DB feedback
1 parent 21d5328 commit 2c1926e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

source/configuration/read.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,13 @@ You can configure the following properties to read from MongoDB:
120120
|
121121
| **Default:** ``true``
122122

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``
124130

125131
.. _partitioner-conf:
126132

source/configuration/write.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ The following options for writing to MongoDB are available:
140140
``false``.
141141
|
142142
| **Default:** ``true``
143+
144+
* - ``convertJson``
145+
- | When ``true``, the connector parses the string and converts extended JSON
146+
into BSON.
147+
|
148+
| **Default:** ``false``
143149

144150
.. _configure-output-uri:
145151

0 commit comments

Comments
 (0)