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

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

Asked Jan 28 Modified Jan 1, 0001
Viewed 50
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
各位大佬,目前我司在进行技术选型,目前团队内Doris相关技术经验较少,选择哪个版本更加稳定啊?
如何删除resource中的s3.access_key以及s3.secret_key属性
doris村算分离3.0.5版本,表table_properties中storage_vault_id为空,导致自动分区失败,如何更新这个值,现有系统不支持modify。
清空show stream load 看到的数据
__internal_schema中两张系统表的数据为空,tablet是bad
1 answers
grant on授权,权限控制粒度不够用

Terms of service Privacy policy

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