swaminathanmanish commented on code in PR #10484: URL: https://github.com/apache/pinot/pull/10484#discussion_r1149704765
########## pinot-spi/src/main/java/org/apache/pinot/spi/utils/builder/TableConfigBuilder.java: ########## @@ -256,6 +258,16 @@ public TableConfigBuilder setInvertedIndexColumns(List<String> invertedIndexColu return this; } + public TableConfigBuilder setOptimizeDictionaryForMetrics(boolean optimizeDictionaryForMetrics) { + _optimizeDictionaryForMetrics = optimizeDictionaryForMetrics; + return this; + } + + public TableConfigBuilder setNoDictionarySizeRatioThreshold(double noDictionarySizeRatioThreshold) { Review Comment: Im following what we introduced in the index table config :) https://docs.pinot.apache.org/configuration-reference/table#table-index-config > does this test include data? can we add a test with some data and verify that the threshold is honored or not? > > Otherwise, lgtm! The test creates tableConfig with some values in the 2 new fields, serializes & de-serializes the tableConfig and verifies if the values match with what was initialized. -- 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