From 17cf09461c5b32d0b75ee2c9b25e6997914fa1bc Mon Sep 17 00:00:00 2001 From: w41ter Date: Thu, 1 Feb 2024 08:04:56 +0000 Subject: [PATCH] [fix](merge-cloud) Ignore in_memory property in cloud mode --- .../apache/doris/cloud/common/util/CloudPropertyAnalyzer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/cloud/common/util/CloudPropertyAnalyzer.java b/fe/fe-core/src/main/java/org/apache/doris/cloud/common/util/CloudPropertyAnalyzer.java index 7f3aa05a79dbc3..a63fbaa5f45c30 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/cloud/common/util/CloudPropertyAnalyzer.java +++ b/fe/fe-core/src/main/java/org/apache/doris/cloud/common/util/CloudPropertyAnalyzer.java @@ -27,8 +27,9 @@ public class CloudPropertyAnalyzer extends PropertyAnalyzer { public CloudPropertyAnalyzer() { + // Ignore unsupported properties in cloud mode forceProperties = ImmutableList.of( - RewriteProperty.replace(PropertyAnalyzer.PROPERTIES_INMEMORY, "true"), + RewriteProperty.delete(PropertyAnalyzer.PROPERTIES_INMEMORY), RewriteProperty.delete(PropertyAnalyzer.PROPERTIES_STORAGE_MEDIUM), RewriteProperty.replace(PropertyAnalyzer.PROPERTIES_STORAGE_FORMAT, "V2"), RewriteProperty.delete(PropertyAnalyzer.PROPERTIES_STORAGE_POLICY),