Jackie-Jiang commented on code in PR #15591:
URL: https://github.com/apache/pinot/pull/15591#discussion_r2076557228
##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/column/PhysicalColumnIndexContainer.java:
##########
@@ -51,36 +53,115 @@ public
PhysicalColumnIndexContainer(SegmentDirectory.Reader segmentReader, Colum
fieldIndexConfigs = FieldIndexConfigs.EMPTY;
}
- _readersByIndex = new HashMap<>();
- for (IndexType<?, ?, ?> indexType :
IndexService.getInstance().getAllIndexes()) {
- if (segmentReader.hasIndexFor(columnName, indexType)) {
- IndexReaderFactory<?> readerProvider = indexType.getReaderFactory();
- try {
- IndexReader reader = readerProvider.createIndexReader(segmentReader,
fieldIndexConfigs, metadata);
- if (reader != null) {
- _readersByIndex.put(indexType, reader);
+ ArrayList<IndexType> indexTypes = new ArrayList();
Review Comment:
^^
--
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]