siddharthteotia commented on code in PR #9333: URL: https://github.com/apache/pinot/pull/9333#discussion_r988607434
########## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/ScanBasedFilterOperator.java: ########## @@ -43,6 +44,9 @@ public class ScanBasedFilterOperator extends BaseFilterOperator { _dataSource = dataSource; _numDocs = numDocs; _nullHandlingEnabled = nullHandlingEnabled; + Preconditions.checkState(_dataSource.getForwardIndex() != null, + "Forward index disabled for column: %s, creating ScanDocIdSet unsupported!", Review Comment: (nit) a better message may be -- `creating ScanDocIdSet unsupported -> scan based filtering not supported` -- 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