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

版本:2.0.10

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

edited Jun 3, 2024
yugunsung117
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
yugunsung117
answered May 30, 2024
Related Questions
1.2.8升级2.0.0 报错
Doris修改表分区
1 answers
doris数据存储是放在服务器磁盘上还是oss上面好?
1 answers
如何降低doris远程存储的访问频率
1 answers
3个并发任务写入同一张表,报错 get tableList write lock timeout
1 answers
Doris v2.0.10 Tablet 副本修复失败
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 中文技术论坛.