924060929 commented on code in PR #10550:
URL: https://github.com/apache/doris/pull/10550#discussion_r911904607


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -169,6 +172,12 @@ public PlanFragment visitPhysicalOlapScan(
         TableRef ref = new TableRef(tableName, null, null);
         BaseTableRef tableRef = new BaseTableRef(ref, olapTable, tableName);
         tupleDescriptor.setRef(tableRef);
+        
olapScanNode.setSelectedPartitionIds(physicalOlapScan.getSelectedPartitionId());
+        try {
+            
olapScanNode.updateScanRangeInfoByNewMVSelector(physicalOlapScan.getSelectedIndexId(),
 false, "");
+        } catch (Exception e) {
+            LOG.warn("set failed", e);

Review Comment:
   what happens when an exception is caught? compute wrong result?
   
   



-- 
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...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to