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

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

Asked Jan 3 Modified Jan 1, 0001
Viewed 31
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
黄海军@SelectDB5178
answered Jan 3
Related Questions
doris sql查询慢,倒排索引查询NULL值问题
1 answers
Doris 做业务查询时,多个大子查询 使用 UNION ALL 联合后通过时间过滤一天数据还是会内存不足
1 answers
对于JSON_ARRAY JSON数组嵌套数据的处理,大家有什么好的处理办法吗?
EXPLAIN语句执行问题
1 answers
be各节点数据均衡
2 answers
Doris2.0.3版本ROUND函数四舍五入偶发性错误
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 中文技术论坛.