yiguolei commented on a change in pull request #8701:
URL: https://github.com/apache/incubator-doris/pull/8701#discussion_r836998174
##########
File path: fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/LoadAction.java
##########
@@ -59,9 +62,14 @@
@RequestMapping(path = "/api/{" + DB_KEY + "}/{" + TABLE_KEY + "}/_load",
method = RequestMethod.PUT)
public Object load(HttpServletRequest request, HttpServletResponse
response,
@PathVariable(value = DB_KEY) String db,
@PathVariable(value = TABLE_KEY) String table) {
- this.isStreamLoad = false;
- executeCheckPassword(request, response);
- return executeWithoutPassword(request, response, db, table);
+ if(!Config.disable_mini_load) {
Review comment:
it is better to use if (condition) xxx not use if (!condition)
--
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]