File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
reference/operator/aggregation Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ Migrate Data into a Time Series Collection
6
6
7
7
.. default-domain:: mongodb
8
8
9
+ .. facet::
10
+ :name: genre
11
+ :values: tutorial
12
+
9
13
.. contents:: On this page
10
14
:local:
11
15
:backlinks: none
@@ -19,6 +23,15 @@ To migrate data from an existing collection into a :ref:`time series
19
23
collection <manual-timeseries-collection>`, use an :pipeline:`$out`
20
24
stage in your aggregation pipeline.
21
25
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
+
22
35
Migrate Data to a Time Series Collection
23
36
----------------------------------------
24
37
Original file line number Diff line number Diff line change @@ -305,6 +305,12 @@ Restrictions
305
305
- An aggregation pipeline cannot use ``$out`` inside
306
306
:ref:`transactions <transactions>`.
307
307
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
+
308
314
* - :ref:`view definition <views-landing-page>`
309
315
310
316
- The ``$out`` stage is not allowed as part of a
You can’t perform that action at this time.
0 commit comments