mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 22:25:19 +00:00
(improvement)(Headless) Support optimizing and generating SQL based on the engine type. (#666)
This commit is contained in:
@@ -67,7 +67,7 @@ public class LocalSemanticInterpreter extends BaseSemanticInterpreter {
|
||||
@SneakyThrows
|
||||
public SemanticQueryResp queryByS2SQL(QuerySqlReq querySQLReq, User user) {
|
||||
queryService = ContextUtils.getBean(QueryService.class);
|
||||
Object object = queryService.queryBySql(querySQLReq, user);
|
||||
SemanticQueryResp object = queryService.queryBySql(querySQLReq, user);
|
||||
return JsonUtil.toObject(JsonUtil.toString(object), SemanticQueryResp.class);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user