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

selectdb 如何查询json数据是否含有某个数组

Asked Jan 3 Modified Jan 1, 0001
Viewed 33
query

["SD00000003","SD00000002","SD00000017","SD00000021","SD00000028","SD00000020","SD00000071"]

如上数组格式,如果通过sql查询里边是否包含某个数组

edited Jan 1, 0001
aiyuanzhi1
asked Jan 3
1 Answers

看看array_contains函数和json_contains函数是否满足你的需求

edited Jan 1, 1970
黄海军@SelectDB5198
answered Jan 3
Related Questions
python使用读写doris的主流使用方式是什么样的
1 answers
doris查询paimon外表有些表会报错
doris3.1.3和doris4出现空指针异常问题
1 answers
doris3读取mysql数据写入到hive报错UnsupportedFileSystemException: No FileSystem for scheme "s3"
3 answers
presto切换到doris的方案咨询
1 answers
请教2.1版本 Join Reorder有行为变更或者Bug修复吗?
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 中文技术论坛.