clintropolis commented on code in PR #12388:
URL: https://github.com/apache/druid/pull/12388#discussion_r866487827
##########
processing/src/main/java/org/apache/druid/segment/QueryableIndexStorageAdapter.java:
##########
@@ -146,8 +148,9 @@ public Comparable getMinValue(String dimension)
{
ColumnHolder columnHolder = index.getColumnHolder(dimension);
if (columnHolder != null &&
columnHolder.getCapabilities().hasBitmapIndexes()) {
- BitmapIndex bitmap = columnHolder.getBitmapIndex();
- return bitmap.getCardinality() > 0 ? bitmap.getValue(0) : null;
+ ColumnIndexSupplier indexSupplier = columnHolder.getIndexSupplier();
Review Comment:
agree it is strange, and is used only by `SegmentAnalyzer` so agree it
should be reworked though i might save it for a follow-up PR
--
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]