walterddr commented on code in PR #11848:
URL: https://github.com/apache/pinot/pull/11848#discussion_r1368762091
##########
pinot-core/src/test/java/org/apache/pinot/core/operator/transform/function/TupleSelectionTransformFunctionsTest.java:
##########
@@ -323,7 +323,7 @@ public void testGreatestTransformFunctionIntFloat() {
assertEquals(transformFunction.getResultMetadata().getDataType(),
FieldSpec.DataType.DOUBLE);
double[] doubleValues =
transformFunction.transformToDoubleValuesSV(_projectionBlock);
for (int i = 0; i < NUM_ROWS; i++) {
- assertEquals(doubleValues[i], Math.max(Math.max(_intSVValues[i], -1),
_doubleSVValues[i]));
+ assertEquals(doubleValues[i], Math.max(Math.max(_intSVValues[i], -1),
Double.valueOf(_floatSVValues[i])));
Review Comment:
how was this ever correct? doubleSVValue and floatSVValues are not even the
same column
--
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]