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 54
2.0 upgrade

版本:2.0.10

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

edited Jun 3, 2024
yugunsung115
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
yugunsung115
answered May 30, 2024
Related Questions
元数据文件恢复
1 answers
doris写入数据失败
1 answers
jdbc插入能获取到自增列吗?
1 answers
V2.0.3 版本,集群环境。BE 挂了一个节点,配置了自动拉起,启动失败。麻烦大佬们帮忙看看
2 answers
Date与DatatimeV2
3 answers
Doris 2.0.15 使用 insert into 插入1kw数据到一张空表上,之后想执行full compaction压缩,但是报错
2 answers

Terms of service Privacy policy

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