vvivekiyer commented on code in PR #10845:
URL: https://github.com/apache/pinot/pull/10845#discussion_r1248214238
##########
pinot-core/src/main/java/org/apache/pinot/core/query/aggregation/function/BaseBooleanAggregationFunction.java:
##########
@@ -233,7 +233,8 @@ public Integer merge(Integer intermediateResult1, Integer
intermediateResult2) {
@Override
public DataSchema.ColumnDataType getIntermediateResultColumnType() {
- return DataSchema.ColumnDataType.BOOLEAN;
+ // The intermediateResult type is integer. The final result is converted
to a boolean.
+ return DataSchema.ColumnDataType.INT;
Review Comment:
Got it.
Addressed this by converting Boolean objects to Integer objects in
NewAggregateOperator.
--
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]