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

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

Asked Jan 28 Modified Jan 1, 0001
Viewed 46
3.0 2.1

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

edited Jan 1, 0001
xiongyu3
asked Jan 28
1 Answers

image.png get_json函数

edited Jan 1, 1970
xxxl18
answered Feb 6
Related Questions
insert overwrite table 写入iceberg表报错
1 answers
期望Doris支持Apache Ozone对象存储ofs协议
1 answers
doris 3.0.4存算一体执行语句卡死并且kill失败
1 answers
FundationDB 问题 导致 FE 服务无法运行 及后续运维操作问题
1 answers
Doris 连接 Paimon 查询的时候报错ArrayIndexOutOfBoundsException
1 answers
Doris3.0.4使用paimon catalog连接带ssl证书的s3报错
2 answers

Terms of service Privacy policy

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