itschrispeck commented on code in PR #13994: URL: https://github.com/apache/pinot/pull/13994#discussion_r1776291943
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/creator/impl/SegmentColumnarIndexCreator.java: ########## @@ -293,8 +293,9 @@ private boolean createDictionaryForColumn(ColumnIndexCreationInfo info, SegmentG FieldIndexConfigs fieldIndexConfigs = config.getIndexConfigsByColName().get(column); if (DictionaryIndexType.ignoreDictionaryOverride(config.isOptimizeDictionary(), - config.isOptimizeDictionaryForMetrics(), config.getNoDictionarySizeRatioThreshold(), spec, fieldIndexConfigs, - info.getDistinctValueCount(), info.getTotalNumberOfEntries())) { + config.isOptimizeDictionaryForMetrics(), config.getNoDictionarySizeRatioThreshold(), Review Comment: After looking at it I feel the config and builder class for just four configs is a lot, since I don't think this would be a commonly edited part of the code and is only used in two places - wdyt? If you prefer it I'm still open to making the change -- 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