Skip to content

Commit 33f4bf7

Browse files
authored
DOCSP 36306 $out restriction clarification (#6278)
* DOCSP-36306 to time series option * DOCSP-36306 to time series option * DOCSP-36306 adding tutorial tag * DOCSP-36306 tech edit * DOCSP-36306 adding link to mongodump and mongorestore * DOCSP-36306 typo
1 parent 52ebe0a commit 33f4bf7

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

source/core/timeseries/timeseries-migrate-data-into-timeseries-collection.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Migrate Data into a Time Series Collection
66

77
.. default-domain:: mongodb
88

9+
.. facet::
10+
:name: genre
11+
:values: tutorial
12+
913
.. contents:: On this page
1014
:local:
1115
:backlinks: none
@@ -19,6 +23,15 @@ To migrate data from an existing collection into a :ref:`time series
1923
collection <manual-timeseries-collection>`, use an :pipeline:`$out`
2024
stage in your aggregation pipeline.
2125

26+
.. note::
27+
28+
In MongoDB versions prior to 7.0.3, an aggregation pipeline
29+
cannot use :pipeline:`$out` to output to a time series
30+
collection. To migrate data into a time series collection with
31+
MongoDB versions prior to 7.0.3, use :binary:`~bin.mongodump` and
32+
:binary:`~bin.mongorestore`.
33+
34+
2235
Migrate Data to a Time Series Collection
2336
----------------------------------------
2437

source/reference/operator/aggregation/out.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@ Restrictions
305305
- An aggregation pipeline cannot use ``$out`` inside
306306
:ref:`transactions <transactions>`.
307307

308+
* - :ref:`Time Series Collections <manual-timeseries-landing>`
309+
310+
- In MongoDB versions prior to 7.0.3, an aggregation pipeline
311+
cannot use :pipeline:`$out` to output to a time series
312+
collection.
313+
308314
* - :ref:`view definition <views-landing-page>`
309315

310316
- The ``$out`` stage is not allowed as part of a

0 commit comments

Comments
 (0)