Skip to content

Commit

Permalink
Revert "Fix FloatFirstVectorAggregationTest"
Browse files Browse the repository at this point in the history
This reverts commit c40bb2c.
  • Loading branch information
LakshSingla committed Mar 19, 2024
1 parent c40bb2c commit f5c5573
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ public class FloatFirstVectorAggregationTest extends InitializedNullHandlingTest
new SerializablePairLongFloat(2345300L, 4.2F)
};

private final SerializablePairLongFloat[] nullPairs = {null, null, null, null};
private final SerializablePairLongFloat[] null_pairs = {
null, null, null, null
};



Expand Down Expand Up @@ -128,7 +130,7 @@ public int getCurrentVectorSize()
@Override
public Object[] getObjectVector()
{
return nullPairs;
return null_pairs;
}

@Override
Expand Down Expand Up @@ -285,7 +287,7 @@ public void aggregateNulls1()
target1.aggregate(buf, 0, 0, VALUES.length);
Pair<Long, Float> result = (Pair<Long, Float>) target1.get(buf, 0);
Assert.assertEquals(Long.MAX_VALUE, result.lhs.longValue());
Assert.assertEquals(NullHandling.defaultFloatValue(), result.rhs);
Assert.assertNull(result.rhs);
}

@Test
Expand Down

0 comments on commit f5c5573

Please sign in to comment.