You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/12/22 07:11:16 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on a change in pull request #5114: Add fuzzy_parse option to speed up json import

EmmyMiao87 commented on a change in pull request #5114:
URL: https://github.com/apache/incubator-doris/pull/5114#discussion_r547101792



##########
File path: be/src/http/action/mini_load.cpp
##########
@@ -305,6 +305,15 @@ Status MiniLoadAction::_merge_header(HttpRequest* http_req,
     } else {
         (*params)[HTTP_STRIP_OUTER_ARRAY] = "false";
     }
+    if (!http_req->header(HTTP_FUZZY_PARSE).empty()) {

Review comment:
       Mini load does not need to add this new function. 
   It can be slowly offline.

##########
File path: fe/fe-core/src/main/java/org/apache/doris/analysis/LoadStmt.java
##########
@@ -107,6 +107,7 @@
     public static final String KEY_IN_PARAM_JSONPATHS  = "jsonpaths";
     public static final String KEY_IN_PARAM_JSONROOT  = "json_root";
     public static final String KEY_IN_PARAM_STRIP_OUTER_ARRAY = "strip_outer_array";
+    public static final String KEY_IN_PARAM_FUZZY_PARSE = "fuzzy_parse";

Review comment:
       Not used here anymore




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org