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

使用Variant类型保存JSON数组,需要遍历数组对里面的字段进行统计是要怎么访问对应字段?

Asked Jan 28, 2025 Modified Jan 1, 0001
Viewed 73
3.0 2.1

如题。
[{"a": 100}, {"a", 200}]
比如我用Variant存了,然后想sum a

edited Jan 1, 0001
xiongyu3
asked Jan 28, 2025
1 Answers

image.png get_json函数

edited Jan 1, 1970
xxxl20
answered Feb 6, 2025
Related Questions
doris查询数据,随机负载到不同节点,数据和元数据返回验证不一致
flink doris connector导入数据到doris,be 经常挂掉
1 answers
启动debug模式问题,版本3.0.6.2
2 answers
记录从3.0.4集群升级到3.1.4遇到的问题
1 answers
doris 2.x 同步到哪个版本的doris 最稳定
1 answers
元数据恢复模式如何操作?版本3.0.6.2
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 中文技术论坛.