Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 聚合查询没有走到tiflash
【TiDB Usage Environment】Production Environment or Test Environment or POC
【TiDB Version】
5.4
【Encountered Problem】
Aggregate query does not use TiFlash
This query works
But this one does not
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】
【Attachments】 Related logs and monitoring (https://metricstool.pingcap.com/)
For questions related to performance optimization and fault troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results and upload them.