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

【已解决】1.2.7升级到2.0.10,使用jsonb_extract_string函数报错Json path error

Asked May 29, 2024 Modified Jun 3, 2024
Viewed 50
2.0 upgrade

版本:2.0.10

升级后使用jsonb_extract_string函数报错
image.png

edited Jun 3, 2024
yugunsung113
asked May 29, 2024
1 Answers

1.2.7中json_path可以不指定$符号,升级之后json_path 必须以 $ 符号作为开头

SELECT
event_date,
jsonb_extract_string(extra, '$.qr_code')
FROM
fact_common_events
LIMIT
10;

edited Jan 1, 1970
yugunsung113
answered May 30, 2024
Related Questions
官方镜像gdb使用报错
left join 报错
doris2.0.15 unique表部分更新出现副本数据不一致
1 answers
doris 2.0.4 某tablet持续base compaction失败重试
1 answers
执行insert into select语句,偶发be与fe连接错误,[THRIFT_RPC_ERROR]Couldn't open transport for 10.1.0.23:9020 (open() timed out)
1 answers
doris 中be节点交替false是什么原因呢
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 中文技术论坛.