Skip to content

Commit

Permalink
[Fix](delete) Fix invalid enable_mow_light_delete propertiy default…
Browse files Browse the repository at this point in the history
… value (#40104)
  • Loading branch information
Yukang-Lian authored Aug 30, 2024
1 parent 162ac86 commit e78c38f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1469,11 +1469,11 @@ public static boolean analyzeUniqueKeyMergeOnWrite(Map<String, String> propertie
public static boolean analyzeEnableDeleteOnDeletePredicate(Map<String, String> properties)
throws AnalysisException {
if (properties == null || properties.isEmpty()) {
return false;
return Config.enable_mow_light_delete;
}
String value = properties.get(PropertyAnalyzer.PROPERTIES_ENABLE_MOW_LIGHT_DELETE);
if (value == null) {
return false;
return Config.enable_mow_light_delete;
}
properties.remove(PropertyAnalyzer.PROPERTIES_ENABLE_MOW_LIGHT_DELETE);
if (value.equals("true")) {
Expand Down

0 comments on commit e78c38f

Please sign in to comment.