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

官网示例 amazon_reviews 增加索引字段查询没效果,也没有走索引是啥原因啊

Asked Nov 14, 2024 Modified Jan 1, 0001
Viewed 33
2.1

80e869d93ae07b1f39c7af9b1a2944d.png
查询:SELECT
product_id,
any(product_title),
AVG(star_rating) AS rating,
COUNT() AS count
FROM
amazon_reviews
WHERE
review_body LIKE '%is super awesome%'
GROUP BY
product_id
ORDER BY
count DESC,
rating DESC,
product_id
LIMIT 5;

Total: 4s435ms

索引也没有过滤到条数

edited Jan 1, 0001
guanyuaxin3
asked Nov 14, 2024
1 Answers

【问题状态】跟进中
【问题处理】定位中,有进展会更新到论坛

edited Jan 1, 1970
徐振超@SelectDB7931
answered Nov 14, 2024
Related Questions
fe节点加入集群时报错
1 answers
大佬们求助,授予角色可以创建catalog的权限报错
1 answers
关于catalog_paimon环境下如何启用paimonNativeReadSplits?
1 answers
不同doris集群如何同步数据?
1 answers
bitmap类型设置默认值后,数据导入报错can not cast from origin type bitmap to target type=varchar(65533)
1 answers
doris2.1.8,相同的sql,不同账期但数据量差异,大小表join,有时候会自动join reorder导致OOM
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 中文技术论坛.