Indhumathi27 commented on a change in pull request #4225: URL: https://github.com/apache/carbondata/pull/4225#discussion_r719117940
########## File path: integration/spark/src/main/common2.3and2.4/org/apache/spark/sql/CarbonDataSourceScanHelper.scala ########## @@ -56,8 +56,11 @@ abstract class CarbonDataSourceScanHelper(relation: CarbonDatasourceHadoopRelat .map(QueryPlan.normalizeExprId(_, output)) @transient lazy val indexFilter: IndexFilter = { - val filter = pushedDownFilters.reduceOption(new AndExpression(_, _)) - .map(new IndexFilter(relation.carbonTable, _, true)).orNull + var filter: IndexFilter = null Review comment: No need to handle here. In CarbonDataSourceScan.doCanonicalize, instead of passing null, can pass Seq.empty for pushedDownFilters -- 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: dev-unsubscr...@carbondata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org