(fix)(headless) fix the error choice of default model(#1684) (#1707)

This commit is contained in:
jipeli
2024-09-24 18:34:48 +08:00
committed by GitHub
parent dbea1e7c68
commit 89b9c694be

View File

@@ -97,7 +97,8 @@ public class QueryReqConverter {
.getMetrics()
.add(
sqlGenerateUtils.generateInternalMetricName(
semanticSchemaResp.getModelResps().get(0).getBizName()));
getDefaultModel(
semanticSchemaResp, metricTable.getDimensions())));
} else {
queryStructReq.setAggregators(
metricTable.getMetrics().stream()