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

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

Asked Mar 28, 2024 Modified Mar 28, 2024
Viewed 84
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
黄海军@SelectDB5198
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
fe节点加入集群时报错
1 answers
大佬们求助,授予角色可以创建catalog的权限报错
1 answers
关于catalog_paimon环境下如何启用paimonNativeReadSplits?
1 answers
不同doris集群如何同步数据?
1 answers
bitmap类型设置默认值后,数据导入报错can not cast from origin type bitmap to target type=varchar(65533)
1 answers
doris2.1.8,相同的sql,不同账期但数据量差异,大小表join,有时候会自动join reorder导致OOM
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 中文技术论坛.