saithal-confluent commented on code in PR #16517: URL: https://github.com/apache/druid/pull/16517#discussion_r1623764102
########## processing/src/main/java/org/apache/druid/segment/DictionaryEncodedColumnMerger.java: ########## @@ -322,7 +322,7 @@ public void processMergedRow(ColumnValueSelector selector) throws IOException if (encodedValueSerializer instanceof ColumnarMultiIntsSerializer) { ((ColumnarMultiIntsSerializer) encodedValueSerializer).addValues(row); } else { - int value = row.size() == 0 ? 0 : row.get(0); + int value = rowSize == 0 ? 0 : row.get(0); Review Comment: Makes sense, let me try caching the results or providing an efficient get method. -- 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...@druid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org