liutang123 commented on code in PR #50632:
URL: https://github.com/apache/doris/pull/50632#discussion_r2165580654
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -4298,19 +4299,21 @@ private ExplainLevel
parseExplainPlanType(PlanTypeContext planTypeContext) {
}
@Override
- public Pair<DataType, Boolean>
visitDataTypeWithNullable(DataTypeWithNullableContext ctx) {
+ public Pair<TypeAndEncoding, Boolean>
visitDataTypeWithNullable(DataTypeWithNullableContext ctx) {
return ParserUtils.withOrigin(ctx, () ->
Pair.of(typedVisit(ctx.dataType()), ctx.NOT() == null));
}
@Override
- public DataType visitAggStateDataType(AggStateDataTypeContext ctx) {
+ public TypeAndEncoding visitAggStateDataType(AggStateDataTypeContext ctx) {
return ParserUtils.withOrigin(ctx, () -> {
- List<Pair<DataType, Boolean>> dataTypeWithNullables =
ctx.dataTypes.stream()
+ List<Pair<TypeAndEncoding, Boolean>> dataTypeWithNullables =
ctx.dataTypes.stream()
Review Comment:
The same as CastDataType
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]