TracebaK commented on issue #44565:
URL: https://github.com/apache/doris/issues/44565#issuecomment-2788722512

   Hi @ixzc , is there anyone still working on a fix of this issue? I met a 
similar problem when I want to build a json string of a nested json object and 
pass the json string to my UDF. I used `json_object()` to build the json object 
and the array created using `json_array()` is converted to a string, which is 
not expected, like in the following example: 
   
   ```
   my_udf(json_object('text', json_array('this is sentence 1', 'this is 
sentence2')))
   ``` 
   
   What I got from my udf is:
   
   ```
   {"text":"[\"this is sentence 1\",\"this is sentence2\"]"}
   ```
   
   What I expected is something like: 
   
   ```
   {"text":["this is sentence 1","this is sentence2"]}
   ```
   


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