ayesheepatra07 commented on code in PR #15283:
URL: https://github.com/apache/pinot/pull/15283#discussion_r1999729756


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java:
##########
@@ -1243,6 +1262,12 @@ private static void validateFieldConfigList(TableConfig 
tableConfig, @Nullable S
       // Validate the forward index disabled compatibility with other indexes 
if enabled for this column
       validateForwardIndexDisabledIndexCompatibility(columnName, fieldConfig, 
indexingConfig, schema, tableType);
 
+      // Validate bloom filter is not added to boolean column
+      if (fieldConfig.getIndexes() != null && 
fieldConfig.getIndexes().has("bloom") ) {

Review Comment:
   the switch-case block is doing a validation for IndexType, and BLOOM is not 
defined as an enum in indextype, so could not move the check inside the block. 



-- 
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

Reply via email to