mghildiy commented on code in PR #15377:
URL: https://github.com/apache/pinot/pull/15377#discussion_r2050657284


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/query/SelectionOnlyOperator.java:
##########
@@ -132,7 +132,11 @@ protected SelectionResultsBlock getNextBlock() {
           Object[] values = blockValueFetcher.getRow(docId);
           for (int colId = 0; colId < numExpressions; colId++) {
             if (_nullBitmaps[colId] != null && 
_nullBitmaps[colId].contains(docId)) {
-              values[colId] = null;
+              if (values[colId] instanceof Double) {
+                values[colId] = Double.NEGATIVE_INFINITY;
+              } else {
+                values[colId] = null;
+              }

Review Comment:
   I think we want this behaviour for decimals only. For other flows, behaviour 
must be as it is currently.



-- 
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

Reply via email to