richardstartin commented on a change in pull request #7435: URL: https://github.com/apache/pinot/pull/7435#discussion_r709221040
########## File path: pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/inv/RangeIndexCreator.java ########## @@ -539,7 +543,7 @@ public int compare(Number val1, Number val2) { @Override public void put(int position, Number value) { - _dataBuffer.putFloat(position << 2, value.intValue()); + _dataBuffer.putFloat(position << 2, value.floatValue()); Review comment: This fixes #7436 -- 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...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org