gavinchou commented on code in PR #51240:
URL: https://github.com/apache/doris/pull/51240#discussion_r2106732415
##########
fe/fe-core/src/main/java/org/apache/doris/planner/SchemaScanNode.java:
##########
@@ -96,14 +96,28 @@ public void finalize(Analyzer analyzer) throws
UserException {
schemaCatalog = analyzer.getSchemaCatalog();
schemaDb = analyzer.getSchemaDb();
schemaTable = analyzer.getSchemaTable();
- frontendIP = FrontendOptions.getLocalHostAddress();
- frontendPort = Config.rpc_port;
+ if (Config.isCloudMode()
+ &&
ConnectContext.get().getSessionVariable().enableScanTablesInfoFromMaster
Review Comment:
`isCloudMode` seems redundant
check the session var is sufficient
--
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]