stalary commented on PR #18438:
URL: https://github.com/apache/doris/pull/18438#issuecomment-1501303722

   > I think we are not having the same problem. The problem I have encountered 
is that when calling the `getRootSchema` method, when the `mappingType` is null 
and there is `dynamic` parameter in the mapping json, since the first element 
obtained by traversing the mapping json through the iterator is `dynamic`, and 
its type is `TextNode`, a `ClassCastException` will appear when running the 
following code:
   > 
   > ```java
   > ObjectNode firstData = (ObjectNode) mappings.get(firstType);
   > ```
   > 
   > All this happens before calling the `replaceFieldAlias` method.
   
   Okey, I get it.


-- 
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