summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorAlyssa Wagenmaker <alyssa.wagenmaker@mongodb.com>2023-05-09 21:34:24 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-10 02:08:48 +0000
commitbbbdb270e2c1a52fbebacd733ec70c6048a686ce (patch)
tree5a71a7eb68891b8f5acf5e2104e725ffb0c7b7fb /src/mongo/db/exec
parentdde6aa74ec3f8cdcf0bbbd759a2c918211f3e264 (diff)
downloadmongo-bbbdb270e2c1a52fbebacd733ec70c6048a686ce.tar.gz
SERVER-73143 Add replacement and pipeline style update support to TS_MODIFY
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/timeseries_modify.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/exec/timeseries_modify.cpp b/src/mongo/db/exec/timeseries_modify.cpp
index f1b96a0c80f..a6429311b81 100644
--- a/src/mongo/db/exec/timeseries_modify.cpp
+++ b/src/mongo/db/exec/timeseries_modify.cpp
@@ -79,11 +79,6 @@ TimeseriesModifyStage::TimeseriesModifyStage(ExpressionContext* expCtx,
_params.updateDriver || !_params.isUpdate);
_specificStats.isModUpdate =
_params.isUpdate && _params.updateDriver->type() == UpdateDriver::UpdateType::kOperator;
-
- // TODO SERVER-73143 Enable these cases.
- uassert(ErrorCodes::InvalidOptions,
- "Timeseries arbitrary updates must be modifier updates",
- !_params.isUpdate || _specificStats.isModUpdate);
}
bool TimeseriesModifyStage::isEOF() {