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

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

Asked Jan 28 Modified Jan 1, 0001
Viewed 61
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.1.3 flink-doris-connector-1.20-25.1.0 flink cdc任务,提示Cannot instantiate user function.
SYNC-JOB现在只支持从mysql同步数据嘛?
1 answers
通过broker load导入数据失败,be.WARNING会出现如下日志,这是什么原因?
1 answers
routine load 任务Running但是数据无法写入
1 answers
Doris使用SSD创建表报错,查询效率比oracle稍慢怎么优化
1 answers
存算分离怎么备份数据
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 中文技术论坛.