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

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

Asked Jan 28 Modified Jan 1, 0001
Viewed 55
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
xxxl20
answered Feb 6
Related Questions
doris3查询表报错 SQL [E-230]错误
1 answers
(已解决)doris3.0.6创建外部目录,连接sqlserver数据库,创建语句无报错,目录也创建好了,但目录下无法查到数据库
3.0.6写数据到hive过一段时间报没有权限
整库同步中连接器版本问题
1 answers
doris运行报错the report queue size exceeds the limit: 100 current: 101
1 answers
doris3.0.7切换FE的leader报错ERROR 1105 (HY000): errCode = 2, detailMessage =
1 answers

Terms of service Privacy policy

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