siddharthteotia commented on code in PR #9333:
URL: https://github.com/apache/pinot/pull/9333#discussion_r971458193


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/filter/ScanBasedFilterOperator.java:
##########
@@ -48,10 +49,16 @@ public class ScanBasedFilterOperator extends 
BaseFilterOperator {
   @Override
   protected FilterBlock getNextBlock() {
     DataSourceMetadata dataSourceMetadata = 
_dataSource.getDataSourceMetadata();
+    ForwardIndexReader<?> forwardIndexReader = _dataSource.getForwardIndex();

Review Comment:
   Instead of `getNextBlock`(), we can probably fail sooner in the constructor 
of `ScanBasedFilterOperator` which is still during physical planning ?



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