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

【已解决】doris获取一个JSON中所有key以及对应的value

Asked Apr 29, 2024 Modified Apr 29, 2024
Viewed 242
demand

使用需求:doris获取一个JSON中所有key以及对应的value,但是在doris没有发现类似的函数(需要指定key的名称才可以解析)

pg中解析如下
image.png

edited Apr 29, 2024
new-bug9
asked Apr 29, 2024
1 Answers

如果当前json函数不满足所需场景,可以考虑使用 JAVA UDF 自定义实现。

edited Apr 29, 2024
张彬华7678
answered Apr 29, 2024
Related Questions
最近生产环境Be 节点总是全部同时宕机!!!求大佬帮忙看看啊
1 answers
AWS上是否有Doris正式服务可用?计划用于生产环境。
1 answers
Doris 2.1.9 count(DISTINCT IF(sum(ActualPrice)>0,PatientId,null)) 无法执行
1 answers
【倒排索引bug】参数stopwords不起作用
1 answers
Doris有没有xml类型?
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 中文技术论坛.