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

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

Asked Apr 29, 2024 Modified Apr 29, 2024
Viewed 270
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
张彬华7693
answered Apr 29, 2024
Related Questions
有针对数据库运行异常时段生成一份类似于oracle AWR报告的方案吗
1 answers
如何通过catalog访问sqlite数据库的数据
2 answers
从3.0.3升级到3.0.8后OPEN API报错
1 answers
对于JSON_ARRAY JSON数组嵌套数据的处理,大家有什么好的处理办法吗?
检索分析,筛选条件等值查询触发全表扫描导致集群资源瞬间打满
1 answers
Apache Commons 安全漏洞 (CVE-2025-48734)
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 中文技术论坛.