yujun777 commented on code in PR #34181:
URL: https://github.com/apache/doris/pull/34181#discussion_r1580778681
##########
fe/fe-core/src/main/java/org/apache/doris/cloud/load/CloudLoadManager.java:
##########
@@ -46,5 +83,189 @@ public long createLoadJobFromStmt(InsertStmt stmt) throws
DdlException {
return super.createLoadJobFromStmt(stmt);
}
+ public LoadJob createLoadJobFromStmt(CopyStmt stmt) throws DdlException {
+ Database database = super.checkDb(stmt.getDbName());
+ long dbId = database.getId();
+ BrokerLoadJob loadJob = null;
+ if (Config.isCloudMode()) {
Review Comment:
line 90 ~ 98 make simple, see line 74;
What's more CloudXX only call when Config.isCloudMode = true. So directory
cloud/xxx should no appear Config.isCloudMode
--
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]