morrySnow commented on code in PR #50418: URL: https://github.com/apache/doris/pull/50418#discussion_r2059797538
########## fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java: ########## @@ -4221,7 +4221,7 @@ public DataType visitPrimitiveDataType(PrimitiveDataTypeContext ctx) { } List<String> l = Lists.newArrayList(dataType); ctx.INTEGER_VALUE().stream().map(ParseTree::getText).forEach(l::add); - return DataType.convertPrimitiveFromStrings(l); + return DataType.convertPrimitiveFromStrings(l).conversion(); Review Comment: should not change here, like ArrayType, u should add conversion in AggState class constructor -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org