You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "gaozhan333 (via GitHub)" <gi...@apache.org> on 2024/03/28 05:47:36 UTC

Re: [I] [Bug] explode_json_array_sting 无法解析复杂json [doris]

gaozhan333 commented on issue #14699:
URL: https://github.com/apache/doris/issues/14699#issuecomment-2024451869

   > when we use 'explode_json_array_string', we should give an array string which element is still string. For example, your case is '[{"k1":"v1","k2":"v2"},{"k1":"v11","k2":"v22"}]', the first element of array is **{"k1":"v1","k2":"v2"}**, it is not a string because there is no quotation marks. So, this string can meet your needs : '["{\'k1\':\'v1\',\'k2\':\'v2\'}","{\'k1\':\'v11\',\'k2\':\'v22\'}"]'
   
   怎么转变么。


-- 
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-unsubscribe@doris.apache.org

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