From 3e0778abbb57016a53cb8637e1d67514e3ed1bca Mon Sep 17 00:00:00 2001 From: Dinu John <86094133+dinujoh@users.noreply.github.com> Date: Mon, 6 May 2024 10:49:46 -0500 Subject: [PATCH] Add internal type for sorting Signed-off-by: Dinu John <86094133+dinujoh@users.noreply.github.com> --- .../dataprepper/plugins/mongo/client/BsonHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-prepper-plugins/mongodb/src/main/java/org/opensearch/dataprepper/plugins/mongo/client/BsonHelper.java b/data-prepper-plugins/mongodb/src/main/java/org/opensearch/dataprepper/plugins/mongo/client/BsonHelper.java index 2158f94de3..310959ec83 100644 --- a/data-prepper-plugins/mongodb/src/main/java/org/opensearch/dataprepper/plugins/mongo/client/BsonHelper.java +++ b/data-prepper-plugins/mongodb/src/main/java/org/opensearch/dataprepper/plugins/mongo/client/BsonHelper.java @@ -74,8 +74,8 @@ public class BsonHelper { "java.lang.Boolean", "java.util.Date", "org.bson.BsonDateTime", - "org.bson.BsonTimestamp" - //MAX_KEY + "org.bson.BsonTimestamp", + MAX_KEY // "org.bson.types.Code" Javascript not supported in DocDB // "org.bson.BsonRegularExpression" Regex and Array not support as _id field );