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

【已解决】json_extract如何从jsonb拿数据, 如何把 jsonb 转成 json char

Asked Mar 28, 2024 Modified Mar 28, 2024
Viewed 97
2.1

json_extract如何从jsonb拿数据, 如何把 jsonb 转成 json char

edited Mar 28, 2024
____5
asked Mar 28, 2024
2 Answers

试试用jsonb_extract

edited Jan 1, 1970
黄海军@SelectDB5218
answered Mar 28, 2024

SELECT
json_extract(report_input_data,'$.baseV0600027'
,'$.baseV0700000'
,'$.baseV0700001'
,'$.baseV0700002'
,'$.baseV0700003'
,'$.baseV0800000'
,'$.baseV0800001') 不能直接用于jsonb类型吧

edited Jan 1, 1970
____5
answered Mar 28, 2024
Related Questions
doris任务跑批失败,请问这个失败原因是什么?有什么好的解决方法吗?
1 answers
Doris 2.1.4版本,be节点崩溃重启后集群恢复很慢问题
1 answers
Doris2.1.4 be节点宕机,jemalloc相关问题
1 answers
使用UNIQUE KEY建表时候,用日期建分区,日期字段不是跟在id后面,一定要列出日期字段前面所有字段才能建分区吗
1 answers
Doris CBO 导致的BE节点内存规律性波动问题
1 answers
ROUTINE LOAD导入kafka数据,当kafka是cdc数据,JSON格式,带删除标识的:op:d
1 answers

Terms of service Privacy policy

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