linzhicong1996 opened a new issue, #28167: URL: https://github.com/apache/doris/issues/28167
### 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 Doris 2.0 ### What's Wrong? the same query but two result ,and this two result repeat when use same query  ### What You Expected? same result ### How to Reproduce? i dont know how Reproduce。 but can approve provide sql sql: SELECT COUNT(DISTINCT TrackItemId) FROM dwd.dwd_tracking_trackpoint WHERE TrackPointStatusId =700022 AND is_deleted =0 AND CAST(`op_time` AS date)='2023-11-06' AND TrackItemId IN (SELECT Id FROM dwd.dwd_tracking_trackitemt_info WHERE is_deleted = 0 AND AccountNo = 'WNB27544') AND TrackItemId NOT IN (SELECT DISTINCT TrackItemId FROM dwd.dwd_tracking_trackpoint WHERE TrackPointStatusId =700020 AND is_deleted =0) ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] 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]
