enterwhat commented on issue #15584:
URL: https://github.com/apache/doris/issues/15584#issuecomment-1370532254

   > you can use like this:
   > 
   > SELECT 
get_json_string('[{"processName":"aaa","util":10.1},{"processName":"bbb","util":20.2}]',
 "$.processName"),get_json_int('[{"k1":1, "k2":2}]', "$.k1[0]");
   > 
   > SELECT 
get_json_string('[{"processName":"aaa","util":10.1},{"processName":"bbb","util":20.2}]',
 "$.processName"),get_json_double('[{"k1":1.1, "k2":2.2}]', "$.k1[0]");
   
   但是这样的写法有问题了,只能提取数组里面某一个的值,不能提取出一个数组出来


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