somandal commented on code in PR #9333: URL: https://github.com/apache/pinot/pull/9333#discussion_r966493775
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java: ########## @@ -196,6 +204,15 @@ public void init(SegmentGeneratorConfig segmentCreationSpec, SegmentIndexCreatio Preconditions.checkState(dictEnabledColumn || !invertedIndexColumns.contains(columnName), "Cannot create inverted index for raw index column: %s", columnName); + boolean forwardIndexDisabled = forwardIndexDisabledColumns.contains(columnName); + if (forwardIndexDisabled) { + Preconditions.checkState(dictEnabledColumn && invertedIndexColumns.contains(columnName) + && !columnIndexCreationInfo.isSorted() && (!rangeIndexColumns.contains(columnName) Review Comment: hey @Jackie-Jiang can you check my comment about sorted index on your first comment on this PR? Wanted to know your thoughts based on that. -- 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