(improvement)(chat) support remove where condition and fix simplifySql space error and addAggregateToMetric optimize (#170)

This commit is contained in:
lexluo09
2023-10-07 21:51:37 +08:00
committed by GitHub
parent eccd791a39
commit 4ccee8b107
9 changed files with 128 additions and 24 deletions

View File

@@ -23,6 +23,9 @@ public class NatureHelper {
public static SchemaElementType convertToElementType(String nature) {
DictWordType dictWordType = DictWordType.getNatureType(nature);
if (Objects.isNull(dictWordType)) {
return null;
}
SchemaElementType result = null;
switch (dictWordType) {
case METRIC: