Apache Doris 中文技术论坛
Questions Tags Users Badges

JSON和ARRAY之间互相转换如何实现?

Asked Jun 21, 2025 Modified Jan 1, 0001
Viewed 34
query

JSON和ARRAY之间互相转换如何实现?

输入JSON字符串:
[1, 2, 3]

输出ARRAY
[1, 2, 3]

edited Jan 1, 0001
yangyichao5
asked Jun 21, 2025
1 Answers

这个例子上也不是json 字符串,都是数组呀.

参考官网的 JSON 和 ARRAY 的相关函数,比如:json-array

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9520
answered Jun 26, 2025
Related Questions
get_json_string/json_extract 在不同的Doris版本中结果不一致
1 answers
Doris4.0.2版本,集群部署模式3台主机,不稳定,经常报错。insert报failed to write enough replicas 0/1 for tablet,select查询也报错
1 answers
倒排索引match返回结果不正确
1 answers
[Bug] Arrow Flight SQL 在大数据量下出现 StringArray 偏移量损坏与内存越界
Doris无法查询information_schema.tables表信息
1 answers
flink-doris-connector-1.20.24.0.0 2pc ,checkpoint处恢复数据重复
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.