DA1OOO opened a new issue, #54890:
URL: https://github.com/apache/doris/issues/54890

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   apache-doris-2.1.8.1-bin-x64
   
   ### What's Wrong?
   
   `explain select count(1) from dwb_inapp_measures_analysis_oem_hourly where 
d_s= '20250716' and h_s = 0 limit 200;`
   执行计划如下:
   <img width="1078" height="385" alt="Image" 
src="https://github.com/user-attachments/assets/4513d397-f2f4-4649-8c9e-9ed4e8367d57";
 />
   上卷表建表如下:
   <img width="1124" height="190" alt="Image" 
src="https://github.com/user-attachments/assets/233e42e8-8719-491c-9d7d-de05fbea978c";
 />
   查出来条数不对:
   直接select count(1)
   <img width="932" height="204" alt="Image" 
src="https://github.com/user-attachments/assets/a67dabf9-2c53-4f6f-9c40-13df947b7255";
 />
   直接select *
   <img width="866" height="113" alt="Image" 
src="https://github.com/user-attachments/assets/257e8bc1-a9bc-48f1-9d3b-db0062fdd3af";
 />
   
   <img width="507" height="52" alt="Image" 
src="https://github.com/user-attachments/assets/0951b37b-48fc-4a27-9a24-0d290dbeeb01";
 />
   
   分区统计信息:
   
   <img width="1069" height="375" alt="Image" 
src="https://github.com/user-attachments/assets/e674b6f2-8125-467a-8572-051a5fbbb942";
 />
   
   ### What You Expected?
   
   上卷表无bug
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to