LiBinfeng-01 commented on code in PR #20716:
URL: https://github.com/apache/doris/pull/20716#discussion_r1268845053


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindRelation.java:
##########
@@ -136,6 +136,9 @@ private LogicalPlan bindWithCurrentDb(CascadesContext 
cascadesContext, UnboundRe
         TableIf table = null;
         if (cascadesContext.getTables() != null) {
             table = cascadesContext.getTableByName(tableName);
+            if (ConnectContext.get().getSessionVariable().isPlayNereidsDump() 
&& table == null) {
+                throw new AnalysisException("Can not find table:" + tableName);
+            }

Review Comment:
   done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to