morningman commented on a change in pull request #2828: [Temp Partition] Support add/drop/replace temp partitions URL: https://github.com/apache/incubator-doris/pull/2828#discussion_r386069252
########## File path: fe/src/main/java/org/apache/doris/common/util/PropertyAnalyzer.java ########## @@ -407,4 +410,22 @@ public static boolean analyzeInMemory(Map<String, String> properties, boolean de } return defaultInMemory; } + + public static boolean analyzeStrictRange(Map<String, String> properties, boolean defaultVal) { + if (properties != null && properties.containsKey(PROPERTIES_STRICT_RANGE)) { + String inMemory = properties.get(PROPERTIES_STRICT_RANGE); Review comment: I will merge analyze of `inMemory, strictRange, useTempPartitionName` into one common method `analyzeBooleanProp`. Because they looks just same. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org