wuyunfeng commented on code in PR #11547:
URL: https://github.com/apache/doris/pull/11547#discussion_r939828810


##########
fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/EsUtil.java:
##########
@@ -168,7 +171,7 @@ public static JSONObject getMappingProps(String 
sourceIndex, String indexMapping
         if (rootSchema == null) {
             properties = (JSONObject) mappings.get("properties");
             // Compatible es6 with no type passed in.
-            if (mappingType == null) {
+            if (mappingType == null && properties == null) {

Review Comment:
   OK,we should change the location 



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to