morningman commented on a change in pull request #687: Put begin txn into task
scheduler
URL: https://github.com/apache/incubator-doris/pull/687#discussion_r262384470
##########
File path:
fe/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java
##########
@@ -248,16 +257,20 @@ public void resumeRoutineLoadJob(ResumeRoutineLoadStmt
resumeRoutineLoadStmt) th
throw new DdlException("There is not routine load job with name "
+ resumeRoutineLoadStmt.getName());
}
// check auth
- if
(!Catalog.getCurrentCatalog().getAuth().checkTblPriv(ConnectContext.get(),
-
routineLoadJob.getDbFullName(),
-
routineLoadJob.getTableName(),
-
PrivPredicate.LOAD)) {
-
ErrorReport.reportAnalysisException(ErrorCode.ERR_TABLEACCESS_DENIED_ERROR,
"LOAD",
-
ConnectContext.get().getQualifiedUser(),
-
ConnectContext.get().getRemoteIP(),
- routineLoadJob.getTableName());
+ try {
Review comment:
Check priv does not throw MetaNotFoundException
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]