(improvement)(headless)Remove LLMProxy abstraction as not needed any more.

This commit is contained in:
jerryjzhang
2024-07-05 10:09:23 +08:00
parent 93ea7a618c
commit 14b9086d83
11 changed files with 15 additions and 174 deletions

View File

@@ -2,7 +2,6 @@ package com.tencent.supersonic.common.jsqlparser;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import net.sf.jsqlparser.JSQLParserException;
import net.sf.jsqlparser.parser.CCJSqlParserUtil;
import org.apache.commons.collections.CollectionUtils;
@@ -69,7 +68,7 @@ public class SqlValidHelper {
try {
CCJSqlParserUtil.parse(sql);
return true;
} catch (JSQLParserException e) {
} catch (Exception e) {
log.error("isValidSQL parse:{}", e);
return false;
}