[Fix](typo) Fix analyzeGroupCommitDataBytes typo #29640

This commit is contained in:
abmdocrt
2024-01-09 16:41:31 +08:00
committed by yiguolei
parent 7738eca6da
commit b7a819bd24
2 changed files with 2 additions and 2 deletions

View File

@ -1217,7 +1217,7 @@ public class PropertyAnalyzer {
return groupCommitIntervalMs;
}
public static int analyzeGroupCommitDateBytes(Map<String, String> properties) throws AnalysisException {
public static int analyzeGroupCommitDataBytes(Map<String, String> properties) throws AnalysisException {
int groupCommitDataBytes = PROPERTIES_GROUP_COMMIT_DATA_BYTES_DEFAULT_VALUE;
if (properties != null && properties.containsKey(PROPERTIES_GROUP_COMMIT_DATA_BYTES)) {
String groupIntervalCommitDataBytesStr = properties.get(PROPERTIES_GROUP_COMMIT_DATA_BYTES);

View File

@ -2438,7 +2438,7 @@ public class InternalCatalog implements CatalogIf<Database> {
int groupCommitDataBytes;
try {
groupCommitDataBytes = PropertyAnalyzer.analyzeGroupCommitDateBytes(properties);
groupCommitDataBytes = PropertyAnalyzer.analyzeGroupCommitDataBytes(properties);
olapTable.setGroupCommitDataBytes(groupCommitDataBytes);
} catch (Exception e) {
throw new DdlException(e.getMessage());