-
Notifications
You must be signed in to change notification settings - Fork 62
DOCSP-36546 Scan Multiple Collections #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
a508720
2f9efbd
ada0f3e
4b725e8
a2f5b51
eddf93c
fa8bd86
e81bc1e
6f80c56
b3e46c1
55ed099
2553f13
c737f06
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,13 @@ Read from MongoDB in Streaming Mode | |
| :depth: 1 | ||
| :class: singlecol | ||
|
|
||
| .. facet:: | ||
| :name: genre | ||
| :values: reference | ||
|
|
||
| .. meta:: | ||
| :keywords: change stream | ||
|
|
||
| Overview | ||
| -------- | ||
|
|
||
|
|
@@ -344,12 +351,13 @@ The following example shows how to stream data from MongoDB to your console. | |
|
|
||
| .. important:: Inferring the Schema of a Change Stream | ||
|
|
||
| When the {+connector-short+} infers the schema of a DataFrame | ||
| read from a change stream, by default, | ||
| it uses the schema of the underlying collection rather than that | ||
| of the change stream. If you set the ``change.stream.publish.full.document.only`` | ||
| option to ``true``, the connector uses the schema of the | ||
| change stream instead. | ||
| If you set the ``change.stream.publish.full.document.only`` | ||
| option to ``true``, the {+connector-short+} infers the schema of a ``DataFrame`` | ||
| by using the schema of the scanned documents. If you set the option to | ||
| ``false``, you must specify a schema. | ||
|
|
||
| Schema inference happens at the beginning of streaming, and does not take into | ||
| account collections that are created during streaming. | ||
|
||
|
|
||
| For more information about this setting, and to see a full list of change stream | ||
| configuration options, see the | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.