Skip to content

Commit

Permalink
(fix)(headless) fix the error choice of default model(#1684) (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
jipeli committed Sep 24, 2024
1 parent dbea1e7 commit 89b9c69
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ public QueryStatement convert(QuerySqlReq querySQLReq, SemanticSchemaResp semant
.getMetrics()
.add(
sqlGenerateUtils.generateInternalMetricName(
semanticSchemaResp.getModelResps().get(0).getBizName()));
getDefaultModel(
semanticSchemaResp, metricTable.getDimensions())));
} else {
queryStructReq.setAggregators(
metricTable.getMetrics().stream()
Expand Down

0 comments on commit 89b9c69

Please sign in to comment.