jadami10 opened a new issue, #12635: URL: https://github.com/apache/pinot/issues/12635
I think the issue starts in https://github.com/apache/pinot/blob/3397986ada9b3f978c7d3fa6492986414e4a11d4/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java#L142 We check if the column is `dictEnabledColumn` to ensure we can create the inverted index. In that function, we eventually hit https://github.com/apache/pinot/blob/41ec20996fdb540222e8fdec3816be59a19b04c1/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/dictionary/DictionaryIndexType.java#L227 where if you have `optimizeDictionary` set, it just determines if it makes sense to create the dictionary or not based on the estimated size. There's no consideration if the column has an index that requires the dictionary. -- 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]
